How should i get name of the screen?
Ex:There is a "submit" button.If i clicked on the submit
button it opens a screen. I want that screen name.How can i
get that screen name
I dont have any property regarding that screen.
If suppose we cliked on the screen , Then QTP captures the
screen properties
then i can get the screen name by using GETROPROPERTY
But i want the screen name without clicking the screen.
("I am using the "settoproperty" for Second screen by using
fist screen properties")
Please tell me anyone
Answer Posted / nanda
is that screen is Browser or Window?
If it is Browser..
If Browser("Creationtime:=1").Exist(10)Then
g = Browser("Creationtime:=1").GetROProperty("name")
msgbox g
End If
If possible can send that screenshot of that screen to:
nanda.dreddy@gmail.com
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain the types of object repository?
what is the difference btn risks & Therads in the Test plan documentation?
Functions call by reference and call by value. i want the diff b/n these 2 and how will be the script for this?in which situation we use these 2..?pls explain me clearly
What are the differences between qtp and winrunner?
What are the general steps involved in the data driven framework?
Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project
What are the differences between table and db checkpoints?
Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?
Explain Descriptive Programming Types with Examples?
What are the different kinds of test steps?
What is the difference between shared and local object repository?
Step 3&4 are repeated until an the object in recognised uniquely.
How to use descriptive programming?
How can I find out the cursor position through QTP suppose I am keep tabbing(Pressing the tab key continuously) and stoped at a position Now I want to find out where the cursor position is
QTP 10.0 is not identifying web objects for IE 8.it is identifying like winObject.I installed HP patch QTPWEB_00037.Still getting issue