This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var env = require('./environment.js'); | |
// A small suite to make sure the cucumber framework works. | |
exports.config = { | |
seleniumAddress: env.seleniumAddress, | |
framework: 'custom', | |
frameworkPath: '../index.js', | |
// Spec patterns are relative to this directory. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var startTime; | |
module.exports = function() { | |
this.After(function (scenario, callback) { | |
console.log("Name >> " + scenario.getName()); | |
console.log("Start Time >> " + startTime) | |
console.log("End Time >> " + new Date().getTime()) | |
if(scenario.isSuccessful()) { | |
console.log("PASS"); | |
} else if (scenario.isFailed()) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.shipwreck.page; | |
import org.openqa.selenium.WebDriver; | |
import org.openqa.selenium.WebElement; | |
import org.openqa.selenium.support.FindBy; | |
import org.openqa.selenium.support.How; | |
import org.openqa.selenium.support.PageFactory; | |
/** | |
* This is Shipwreck Home Page |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Enable component-scanning and auto-configuration with @SpringBootApplication Annotation | |
// It combines @Configuration + @ComponentScan + @EnableAutoConfiguration | |
@SpringBootApplication | |
public class FooApplication { | |
public static void main(String[] args) { | |
// Bootstrap the application | |
SpringApplication.run(FooApplication.class, args); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hub: | |
image: selenium/hub:2.52.0 | |
expose: | |
- 4444 | |
ports: | |
- 4444:4444 | |
node-firefox: | |
image: selenium/node-firefox:2.52.0 | |
links: | |
- hub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
रूप लेख: आपने मित्र या परिवार सदस्य को पैसे भेजना | |
परिदृष्य: सही नाम | |
अगर मैं धन स्थानान्तरण पत्र पर हु | |
जब मै व्यक्ति का नाम चुनता हु | |
तथा १०० धनराशि लिखता हूँ | |
तथा स्थानान्तरण चयन करता हूँ | |
तब धनराशि का स्थानान्तरण संपूर्ण हो जाता हैं |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ChosenSelect | |
{ | |
IWebElement containerElem; | |
public ChosenSelect(IWebElement element) | |
{ | |
containerElem = element; | |
} | |
public void SelectByText(String text) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub BmiCalculatorTest() | |
On Error Resume Next | |
'Create an instance of DesirecCapabilities, CapabilityType and By Class using CLR Bridge & | |
'dotNet Property | |
Set objCapabilities = dotNet.OpenQA_Selenium_Remote.DesiredCapabilities.zctor() | |
Set objCapabilityType = dotNet.OpenQA_Selenium_Remote.CapabilityType | |
'By class provides ability to describe locator types supported by WebDriver |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function BmiCalculatorTest() | |
{ | |
try | |
{ | |
//Create an instance of DesirecCapabilities, CapabilityType and By Class using CLR Bridge & dotNET Object | |
var Capabilities = dotNET.OpenQA_Selenium_Remote.DesiredCapabilities.zctor(); | |
var CapabilityType = dotNET.OpenQA_Selenium_Remote.CapabilityType; | |
var By = dotNET.OpenQA_Selenium.By; | |
//Set up the capabilities to run test on iOS application on local Appium server |
NewerOlder