-->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 to import excel sheet to QC?
.qfl extension for which file? where vl use it
w is recovery senario manager
How can we change(increase or decrease)the size of a array variable with out loosing the previous values
1 Answers DST Global Solutions,
how you update scripts in qtp?
How to make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?
how can we call an external library file in QTP apart from using the Executefile statement..?? is there any other way we can call the external library file in QTP..??
2 Answers DST Global Solutions,
What are the challenges do we face while testing webbased applcations using the automation tool QTP or any?
Explain Descriptive Programming Types with Examples?
What is Step generator in qtp? wt is the use? can u any body explain me? plz
What is Virtual Object? Plz Explain me with an example?
Explain the views in the QTP GUI?