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.
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / qtphelper
Try using creation time property for the second browser
whihc ocntains the new page
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / chandrashaker rao suguru
ya ,
use discription object.
discription.create
| Is This Answer Correct ? | 0 Yes | 3 No |
How will you declare a variable in qtp?
what is the hierachy of Descreptive programming?
How to create runtime property for an object?
How do u retrieve data from a text file into different variables. i.e. in a text file named "source" , the data is like : india,1000,japan,200,china,50,singapore,45050 this is given in the first line of the text file. in the second line of the text file the dta is: sun,moon,planet,river,earth,water if u use "readline" method by using FSO concept u can retrieve the entire line in to a variable. but i want to import each field (ex: "india" in one variable, "1000" in another variable etc..). Apprecitae proper replies.
Can we directly automate testscripts accrdoing to requirements
2 Answers CitiGroup, Novartis,
What is Environment Variable and when we apply this in QTP?
How may types of defects identify application or your currently working application?pls give me answer..
Consider one application is open, clicking one menu will open another application in another browser. QTP does not catch the URL of the second browser(second application). can we capture it ?
How to export data present in Datatable to an ".xls" file?
How can we test existence of a particular word in scentence using QTP tool. Thanks in Advance!!!!!
What is the extension of script and object repositary files?
Does QTP supports Linux or Unix OS?.If so which scripting is preferable? Shell we do record and playback