Software Testing: Mainframe Testing Interview Questions

Welcome to the QualityWebHosting.in- Let Customers Help Themselves With a Knowledge Base that Constantly Improves. Customer branding · Smart suggestions · Feedback loops · Single-click importer · Clean composer Services: Website Live Chat, Customer Engagement, Customer Support, 24/7 Secure Monitoring · Unmetered Bandwidth, TollFree Customer Support
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public class Test1 {
public static void main(String[] args) {
WebDriver driver = new FirefoxDriver();
driver.get("http://www.google.com");
driver.quit();
}
}
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public class Test1 {
public static void main(String[] args) {
System.setProperty("webdriver.firefox.marionette","G:\\Selenium\\Firefox driver\\geckodriver.exe");
// if above property is not working or not opening the application in browser then try below property
//System.setProperty("webdriver.gecko.driver","G:\\Selenium\\Firefox driver\\geckodriver.exe");
WebDriver driver = new FirefoxDriver();
driver.get("http://www.facebook.com");
System.out.println("Application title is ============="+driver.getTitle());
driver.quit();
}
}
|