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 / art

U can use Object Spy feature in QTP, to capture the
mandatory and assistive ppty of any object. In ur case, u
want the screen name;

1. Perform the action, by clicking the submit button and
the screen will open.

2. Now, click the Object Spy feature and a hand like tool
will get displayed.

3.Take the tool, to the corresponding screen and click on
it.

4. U will be able to see all the ppty and values.

Hope this helps. Correct me if I am wrong.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to analyzing the checpoint results?

527


What is environment variable in qtp and why to use it?

552


What kinds of security (firewalls, encryptions, passwords, etc.) will be required and what is it expected to do? How can it be tested?

643


Problem with XML checkpoint in QTP ?

3509


When and why to use descriptive programming?

612






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

2456


can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process

1287


An object is non standard object, i mapped it to standard object, eventhogh on mapping to standard object i cannot use the methods available on the standard object with the mapped object. How i can use those standard object methods with these mapped object. (((Note : dont tell that we can use virtual object as virtual object is to map nonstandard obj to standard obj)))

1591


How to use descriptive programming?

616


What is Associate Repository in QTP 9.2 ?

605


What is difference between run time object and test object?

558


If I change the object name in one action will it be updated in all the actions? Or not?

604


How extensive or customized are the server logging and reporting requirements; are they considered an integral part of the system and do they require testing?

574


your coming from electrical backgroung..but y ur coming to software side?

1392


how will you load the test cases in ddt?

1600