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 / pravati
Rowcount=Datatable.getsheet(id).Rowcount
msgbox Rowcount
for i=1 to rowcount
Datatable.Getsheet(id).setcurrentrow(i)
username=Datatable.value(parameter id,sht id)
pwd=Datatable.value(parameter id,sht id)
Browser().page().webedit().set username
Browser().page().webedit().set pwd
Browser().page().webbutton().click
Next
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?
What is the architecture of your project? Can any one answer for this question plz........
An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?
after initiating one project for testing, when exacltly QTP tester role starts?
How can I use Call dlls in QTP ?
After fixing the bug, the same bug is raising again and again in new builds what we have to do? That bug is high level bug.
Please Don't mind .i want in detail the real time process i.e in each document what it contains.
What the differences are and best practical application of Object Repository?
hi guys we r working in office...we write some scripts..suddenly we have a work(5min only) in out side..what will do now,,,used to system shut down or log off or lock or sleep mode,switch use or hibernate?
hi to all, i need a code.. in flight application 1.i need to login first then i need to insert 3 new orders... 2.i have to log out 3.i have to login again with different user 4.need to insert 2 new orders 5.then need to log out 6.then again login with different user 7.3 new orders create and log out 8.but we hv to do this using data table and actions please help me
How often were they executed?
What is a recovery scenario?
what kind of frame work you used in your last project?
Hi All, issue is related to handling pop up script generated in IE, and run on mozilla. In App Under Test, when we get the alert pop ups, we just click ok button. if we need to run the same code on mozilla it will not identify . so we will check browser if browser(*).dialog(IE object).exits browser(*).dialog(IE object).winbutton(OK).click else 'by default mozilla browser(*).dialog(mozilla object).page(*).webbutton(OK).CLICK END IF But my qustion is. Do we write the above piece of code where ever we get such kind of pop ups from the application like alert pop up, confirmation pop up.... OR do we have any other alternative way to do this by using any functions in Recovery Scebarios? If Any of u know idea please do help me in this regard. or send answer to kravimb@gmail.com
What are metrics and matrix?