There are 4 webpages in an application, in third page there
is one cancel button i want to click that cancel button
only, how can I click that cancel buttton ?

Answers were Sorted based on User's Feedback



There are 4 webpages in an application, in third page there is one cancel button i want to click t..

Answer / alok

First navigate to the page by writing the following code
Sysyemutil.Run "iexplore","Url of the page"
Browser("BrowserName").Page("PageName").Webbutton
("Cancel").click

If u need more information pls mail me
er.qtptester@gmail.com

Is This Answer Correct ?    5 Yes 0 No

There are 4 webpages in an application, in third page there is one cancel button i want to click t..

Answer / nisha

Thanks Alok
I was searcing for this answer,coz
i also faced the question
and workinf fine after executed in qtp

Regards
Nisha

Is This Answer Correct ?    1 Yes 0 No

There are 4 webpages in an application, in third page there is one cancel button i want to click t..

Answer / sam paul

Navigate to the desired page ;
then, object.CLick()

Is This Answer Correct ?    1 Yes 1 No

There are 4 webpages in an application, in third page there is one cancel button i want to click t..

Answer / sandipgami84

Hi..
u need to navigate your 4th page then u can use below code,
its DP.

Browser("title:=.*").Page("title:=.*").Webbutton
("name:=Cancel").click

Thanks,
Sandip Gami
9714177088

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

What are the different types of recording modes in qtp? Which will be used when?

0 Answers  


Q) Please any body can help me how we can create descriptive programming if the application is not ready i.e we don't have unique property of object ? note:build not ready means we can't use object spy in build to get unique property .

2 Answers  


I want some banking domain projects where can i get this projects ( anybody can help me plz)

3 Answers  


How to capture screenshots of Exceptions/Errors during run- time?

12 Answers   Ordain Solutions,


Some time when i wanna learn the object i face issue like i am not able learn the object in proper manner... eg:for text bo on web page it should learn as webedit but some times it reads as winobject:internetexpoler-server, because of this i have to uninstall the qtp and re-install it again when i do this it reads the object perfectly.....plz suggest the soln

0 Answers  


Associated files in QTP?

1 Answers  


How to Save your test using QTP?

1 Answers  


Suppose there is a bitmap with some text in it how do you write the script to get the text.

2 Answers   BirlaSoft,


How many ways to configure the application in QTP,Explain

2 Answers   CTS,


How to use regular expression in descriptive programming?

0 Answers  


I have 5 save buttons in 5 tabs . The tabs are placed one after the other. My object repository have these added as 5 save buttons with name sav1, save 2, save 3 , save 4, save 5 .all are getting highlighted from OR but they are not getting clicked. After spying each button all the properties are same except First button Index 0 html id:=btnSaveTab1 outerhtml:=<input id=""btnSaveTab1"" class=""Button"" onclick=""document.getElementById('a1').click();"" name=""btnSaveTab1"" value=""Save"" type=""button"">", Second button "html id:=btnSave "outerhtml:=<input id=""btnSave"" class=""Button"" onclick=""document.getElementById('a2').click();"" value=""Save"" type=""button"">", Third button "html id:=", outerhtml:=<input id=""btnSaveTab1"" class=""Button"" onclick=""document.getElementById('a1').click();"" name=""btnSaveTab Fourth button "html id:=btnSave outerhtml:=<input id=""btnSave"" class=""Button"" onclick=""document.getElementById('a2').click();"" value=""Save"" type=""button"" 5th button "html id:=", "outerhtml:=<input class=""Button"" onclick=""document.getElementById('a5').click();"" value=""Save"" type=""button"">",

0 Answers  


Hi Friends, I'm new to QTP. I want to write a function in QTP for below senario. In an Excel sheet column B, I Have 10 Url/Links, and in Colum A there is a Flag as Y and N. My test should run only on those iterations which are flagged as Y. Please help, Thanks

6 Answers  


Categories