Hello Friends,
I am working with QTP 9.2 descriptive programming. Can you
please let me know how to work with below.
Browser is IE, for my site, it opens another page with
different browser name, For example Parent Page is
google.com and child page is inteview questions. How to
work with this second page.
Answer Posted / prasant87
While working on Parent Page Use Parent's page properties, for e.g.-
Browser("name:=Google").Page("title:=Google").WebEdit("name:=q").Set "QTP Interview Questions"
and when you are working on child page, use corresponding properties (as another page opens up), say e.g. -
Browser("name:=Top 50 QTP Interview Questions").Page("title:=Top 50 QTP Interview Questions").WebElement("outertext:=Home").Click
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How do I lauch my test website using code from qtp in different environmet, uat and PPTE?
What is the difference between local and shared object repository in qtp?
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object.. (give a filter condition only WEbelement- not easy need to use some more property while giving filter condtions- use google for your help...))
How many add-ins comes by default with qtp?
Define Error Pane of UFT?
how will load the object during runtime?
How do you test DLL files using automation Tool QTP?
If you are testing a web application then what will you test in that application?
How did you resolve conflicts present in Object Repository?
I want two test two agents login for the flight website. Here is the scenario: I want to go through 1-3 rows for one user login and other user login I want to go though 3-5 rows. How would you set this up in qtp. Thank You
How to Open FireFox using descriptive programing? If my question is not clear, i will give an Example To Open Internet Explorer, We use Set IE = CreateObject(InternetExplorer.Application) IE.Navigate "www.yahoo.com In the same i need to open yahoo.com in firefox. Can any one tell me what is the server name of firefox to create an object
hi nani my doubt is how does qtp process metrix related to software process.
What is the file extension of the code file and object repository file in QTP?
how to use the regular expression for the below code-- swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:56" There is a tree view window of the folder's ie Medication- >Pharmacy(sub folder)with 56 as count of records...The records can be different or if no records present in the specific folder..then it show "Paharmacy:-no records".Whe i record at the first time .....and try to rerun the same script with different records count say "pharmacy:800"..qtp is not regnizing it...therefore i want to user regular expression..but donot now how to use it and where to use...i have tried.... swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:\*"..but it s of no use..plz help..me
Can anyone share/send me QTP 8.2 Crack as I had it before but now it's virus affected. Pls send me on Sawale.vijay@gmail.com Thanks, ~Vijay