I have a login page like username, password and login. I
have to pass the 50 user names and 50 passwords but
how can i test this page with out using parameters?
Answer Posted / venkat qtp
window(login).winedit("agent name").set datatable("username",1)
window("login").wineidt("password").set datatable("password",1)
window("login").winbutton("ok").click
here
edit on datatable name
username password
venkat mercury
sita mercury
lakshmi mercury
rani mercury
ramu mercury
krishna mercury
ravi mercury
..........
| Is This Answer Correct ? | 2 Yes | 5 No |
Post New Answer View All Answers
For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?
hi all here i have tab named "Workbench" By clicking on "workbench" tab.it displays 4 tabs like below workbench common cargo commercial charter "common" tab have 10tabs inside,"cargo" tab also haveing 15 tabs inside and remaining two tabs also having few tabs inside. when clicked on "common" tab.it displaying the script like tab("workbench").select"common" if i clicked on "cargo".it displaying the script like tab"workbench_2").select"cargo" if i clicked on "commercial".it displaying the script like tab"workbench_3").select"commercial" if i clicked on "charter".it displaying the script like tab"workbench_4").select"charter" I have used a "FOR LOOP" for common,commercial,cargo,charter tabs.it was stopped at second tab SO, CAN I RECOGNIZE "WORKBENCH_2,_3,_4" AS A SINGLE VARIABLE if not, can anyone plese help me to solve this
What is parameter in qtp?
Hi Friends, I worked with 8.2 not with 9.2. Please help me in this prob. I created one script and recorded some think and save as Test 1 then I opened process--open the object repository manager. Switch to file->save->give some name->save as Objectrepo1.tsr file. (This is the global repository file.) Then I went to object repository->tools-> associate repository ->click + icon ->open the previously saved Objectrepo1.tsr file. This is the global repository Now I created one more script and save as Test 2. In this script I am calling script with the Help of "Call of existing action" and I executed but QTP is not able to execute B’cos it is QTP is not able to read the Object Repository of Test 1. Please let me know why? Once I made Script 1 as a shared Obj. Repository so it would not give any Problem. Right?
How the exception handling can be done using quicktest professional?
Describe the differences between functions and actions in UFT?
how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods
What phases are involved in testing an application in qtp?
What are the Test design techniques you uses in ur project?
please give me the code for doing retesting of gmail login page using functions so the function has to give the value
can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.
How can i initiate the objects to find uniquely in OR
What is the registration process and examination fees?
Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?
what is the diffrence bw qtp architectute and qtp framework?