You have 3 Dialog Box on desktop window and u want to click on
yes button on 3rd Dialog box how to write the script to click
on yes by DP? Note Dialog box names are same



You have 3 Dialog Box on desktop window and u want to click on yes button on 3rd Dialog box how to..

Answer / reddeth

"WinObjHierarchy"Dialog
("title:=SomeTitle","Index:=3).Winbutton("name:=Yes")

Is This Answer Correct ?    10 Yes 0 No

Post New Answer

More Automation Testing AllOther Interview Questions

How to write output data to a file (txt,csv,excel) using Test complete automation tool?

2 Answers  


Any quality test-tracking tool which has live & automated dashboards so that the entire team is updated at any given point of time?

1 Answers  


Our QA department is on a look out for a system or a tool which lets our QA head monitor the overall test process and also monitor individual team members progress. Any suggestions please?

1 Answers  


Any one knows an Institute in Hyderabad where "Robot Test Automation Framework" is taught? Please email me: test.kvrm@gmail.com

0 Answers  


What is the purpose of the wrun.ini file?

0 Answers  






Hi, Below is the code that i ran on selenium RC using eclipse IDE and java coding.: package source; import org.testng.annotations.BeforeSuite; import org.testng.annotations.Test; import com.thoughtworks.selenium.*; public class parameterized extends SeleneseTestCase { private Selenium browser; public static void main(String []args) { String arr[] = new String[5]; arr[0]= "bert"; arr[1]= "regular"; arr[2]= "copyonly"; arr[3]= "doert"; arr[4]= "inter"; parameterized obj = new parameterized(); obj.setUp(); obj.login_parameterize(arr); } @BeforeSuite public void setUp() { browser = new DefaultSelenium("localhost",4444, "*chrome", "http://goolge.com"); browser.start(); browser.open("http://goolge.com"); browser.waitForPageToLoad("30000"); browser.windowMaximize(); browser.open("/"); browser.click("gb_23"); } @Test public void login_parameterize(String[] arr ) { for(int i=0;i<=5;i++) { for(int j=0;j<=2; j++) { browser.type("//input[@id='Email']", arr[i]); browser.type("//input[@id='Passwd']", arr[i]); browser.click("//input[@id='signIn']"); browser.waitForPageToLoad("30000"); } } } public void EnterValuesIntoTextField_CheckWithGetValue() throws Exception { selenium.open("http://www.essaywriter.co.uk"); assertEquals("", selenium.getValue("id=textInput")); selenium.type("id=textInput", "Text In The Field"); assertEquals("Text In The Field", selenium.getValue("id=textInput")); } } When i ran this test i got an error which says: "Method login_parameterize requires 1 parameters but 0 were supplied in the @Test annotation." Any help is much appreciated. thank Gab

0 Answers  


What u mean by infrgistics control (What is infrgistics Controls)?

0 Answers  


whether flash selenium supports to test Gaming application? like follows: identifying the images, dynamic animations, Dynamic value changes field and win conditions etcc..,

0 Answers  


Explain me what is the difference between setspeed() and sleep() methods?

0 Answers  


Can we do automation testing without a framework? If yes, then why do we need a framework?

0 Answers  


What are the types of framework used in software automation testing ?

0 Answers  


Give difference between Intranet application, client server application, and web based application

1 Answers   Value Labs,


Categories