-->IF two TextBOxes are there in a "Form".
-->A table contains some records which contains usernames &
password..
-->What is the script we need to write using Descriptive
programming concept...in QTP (simply DATA DRIVEN TEST
SCRIPT OF QTP)?
Answers were Sorted based on User's Feedback
Answer / manish
Browser("Name:=Browser name").page("title:=page
title").wededit("class:=name of the test").set
datatable.value(dtGlobalsheet,username)
Browser("Name:=Browser namae").page("title:=page
title").wededit("class:=name of the test").setsecure
datatable.value(dtGlobalsheet,password)
100% correct, try this out.
Is This Answer Correct ? | 7 Yes | 0 No |
Answer / kumar
My Knowledge....
Browser("Name:=Browser namae").page("title:=page
title").wededit("class:=name of the test").set
datatable.value(1)
Browser("Name:=Browser namae").page("title:=page
title").wededit("class:=name of the test").setsecure
datatable.value(2)
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / krishna chand
Option Explicit
dim uid,pwd
uid=datatable(1,1) ' consider user name is in 1st row
1st 'column
pwd=datatable(2,1) ' consider password is in 2nd row
ist 'column
browser("broswer name").page("page name").webedit("User
name").set user name=uid
browser("broswer name").page("page name").webedit
("Passord").set secure password=pwd
' The entire script is may not correct. But the procedure
is correct
Is This Answer Correct ? | 0 Yes | 3 No |
how many maximum number of virtual users we can create?
What does VBS file contain..? what is VBS file.?
How to use regular expression in descriptive programming?
Write a function which returns the addition of two numbers. give the value of the numbers outside the function.
what testing activities u may want to automate in a project?
Hi, I want to write the script for a webpage. But i didn't added the properties of the objects to the object repository. Without adding the object properties to the object repository, how to write the script. When i am writing the script, Let us say i typed as Browser (""). after selecting ".", if the object is added to the object repository it will display atomatically. But in my case it is not as i didn't added the object properties. How to proceed further in the above mentioned case to write the script manually. Pls let me know if you didn't understand the question.
How to see the screens after running test in QTP?
Write a script to delete the a specific row (say 3rd) in a webtable.
What is Terminal Emulators”? Why we used in QTP.? How he works on QTP.
Can any suggest me what is exposure testing?
When we try to use test run option "Run from Step", the browser is not launching automatically why?
How to merge the two object repositories