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

Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?

3275


Which is the best QTP training institute in Delhi/NCR region and what is the approximate fee for QTP course (Basics and Advanced)

1383


How to associate shared object repository to test in qtp?

507


How to use setroproperty?

579


what is the latest version of QTP? Main difference between 9.2 and 10 version

1556






how to test use the quality control .how to verify the image verification

2548


Have you used xml check point in your project?

558


i am trying to automate yatra.com,in that site, when i go to automate the Leaving from field showing as a WEBEDIT, but when i enter 1 or 2 char, it displaying dropdownlist, i try to use keyboard automation to select the item from that list but it is not possible, can anybody help he. Thans for posting the Answer

3497


Describe the differences between functions and actions in UFT?

614


While spliting an action in QTP 10.0 getting an error : "This Line is a part of Script Block.You cannot split the action on this line." how to re-solve this and split the script into actions?

1425


Hi, I am supposed to automate mainframe application through qtp. I do not know how to start abt it. Can you plz help me in first initializing the process or do you anybody have a guide book or a link which guides me through the process of automating the mainframe applications and things involved in it.

6662


Where you are storing your script?

640


what is error and fault in terms of software quality?

1511


one screen page,that contains file , browse , update and cancel buttons.when we browse a file it should get update otherwise it should go to previous page.write negative test case for that.

1529


How can i initiate the objects to find uniquely in OR

1476