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


Please Help Members By Posting Answers For Below Questions

Explain the types of object repository?

641


what is the difference btn risks & Therads in the Test plan documentation?

1695


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

1353


What are the differences between qtp and winrunner?

618


What are the general steps involved in the data driven framework?

638






Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project

1727


What are the differences between table and db checkpoints?

627


Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?

1972


Explain Descriptive Programming Types with Examples?

1025


What are the different kinds of test steps?

659


What is the difference between shared and local object repository?

697


Step 3&4 are repeated until an the object in recognised uniquely.

1626


How to use descriptive programming?

731


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

6396


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

5673