can i login a page by giving username and password and click
on ok button through database parameterization.and if its
yes then please write the code of that

Answer Posted / shaveta

rc=datatable.GetSheet("Global").GetRowCount
For i=1 to  rc
datatable.GetSheet("Global").SetCurrentRow(i)
systemutil.Run"C:Program FilesHPQuickTest Professionalsamplesflightappflight4a.exe"

With dialog("Login")
.Activate
.WinEdit("AgentName:").Set(datatable.Value("UID","Global"))
.WinEdit("Password:").Set(datatable.Value("password","Global"))
.WinButton("OK").Click
End With

Next

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

when will you do debug your script? and explain that process?

1459


How many number of actions possible in qtp?

614


Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link

878


How to break the object spy ?

666


"What are the common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...

1453






How can you identify the browser and its information using the qtp script?

590


For which type of projects the iterative model is not suitable?

1441


What is quick test pro?

598


What is the difference between QTP and WinRunner? Why do you choose only QTP for automation among remaing tools like Rational robot and silk test? Write the VBscript for any functionality in your project ? What is the cost of QTP ? If you entered into yahoo mail with your valid user name then you will get FOR EXAMPLE , " welcome to krishna " on the top of inbo page , how can you test it in QTP? What type of testing you can do, when we gave you 5 screens and how can you test that application? What type of framework you are using in your company and explain it?

1800


Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com

1507


I am in .Net development for past 3.5 years and want to enter in to automated testing and learn QTP. For this I need some good tutorial for beginners. I will be really greatful if any one has and they can send it to me on this address- ruchidureja@gmail.com

1486


What is quicktest professional window?

571


How can I change object description or check point values in qtp?

566


How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?

618


1.Qtp suppots Unix& linx or not 2why qtp suppots shell script.

1684