in Qtp,how to display user name and pwd (script)in data
table(global sheet).

Answers were Sorted based on User's Feedback



in Qtp,how to display user name and pwd (script)in data table(global sheet)...

Answer / deepa

Datatable("name",dtglobalsheet)=
dialog("login").winEdit("Name").getRoproperty("text")

Datatable("password",dtglobalsheet)=
dialog("login").winEdit("password").getRoproperty("text")

Correct me if I am wrong

Is This Answer Correct ?    5 Yes 0 No

in Qtp,how to display user name and pwd (script)in data table(global sheet)...

Answer / akshara

i don't know it is correct are not but using output values
it is easy do like this.
Window("text:=Login").Activate
Window("text:=Login").WinEdit("Text:=Agent Name:").Output
CheckPoint("Agent Name:")'and select praperty as text
same for password you will get

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

in howmany ways you perfrom batchtesting

6 Answers   Lehman Brothers,


is qtp 9.2 supported for firefox browser3.0?bcoz when i tried to create scripts with the application run on firefox browser 3.0 then qtp 9.2 didn't ct=reate the scripts?

2 Answers  


What is the differnce between action & script

1 Answers  


In the website, the protocol has been changed http: to https what you will do? Tell me your approach?

0 Answers  


How to identify the objects using descriptive programming when the object property values are same, i mean in a page 10 objects are there i want to click the 6th object but all the object property values are same? using descriptive programming

2 Answers   Genpact,






How to handle the exceptions using the recovery scenario manager in qtp?

0 Answers  


How do you perform Regreession Testing?

0 Answers   Nokia,


hi what is the use of "dim" in automation objective model or any where what is the use of "dim" plz tell me

3 Answers  


What is system testing and what are the different types of tests you perform in system testing?

0 Answers  


How to return a value from a fn, if it has more than one value how to return

3 Answers   Verizon,


What is the method for maximize the application while we using Decriptive programming in QTP?

3 Answers  


Once we get the Test Result from QTP.,I Have to convert into Excel file format..Is it possible..Can any gudie me regarding this... For Example : Total Test Case is : XXXXX Test Case passed : XXX Test Case Failed : XXX -------- Total XXXXXX ---------

6 Answers  


Categories