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
i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet
What is action?
Explain the difference between data driven testing and parameterization ?
In qtp, explain what is crypt object
how to prepared for first for the first interview?
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..
How to get popup error message.
I want to read XML file loaded in Quality center and compare the values with the values displayed in Application (web table).How can I do that
hi, can u tell me the QTP TEsting process in present real time companies?(beware of this... now a days Recording is not using,, only DP) and don't tell note book answers like step 1 spep2....like this .......post answer with professional skills in simple english words) thank u
tell me exact differenceb bw qtp and selenium?(could not tell open soure and licennce? difference in usage and technical difference?
How will internal and external links be validated and updated? how often?
Print the Prime numbers in below format only up to 20(Need commas also) 1,2,3,5,7,9,11,13,17,19
Have you done batch testing in qtp? If yes how you are doing?
Explain how qtp identifies object?
On the website, the protocol has been changed https: to https what you will do? Tell me your approach?