-->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 |
diff between wr and qtp in detail.
How to count the no of objects in XML file(QTP)
HI All i need one suggestion.is there any companies taking corresponding degree courses. i have 3+ yrs exp in QTP and i am working north side. iam looking for job in south.
How to capture dynamic objects in qtp like mark up text
Can you tell me any books or websites to learn VB Script for QTP ??
What is the use of ordinal identifier in qtp?
What is the difference between the design-time and run-time data tables?
Do you support automated testing? Why?
which type of testing process are you following in ur company? how to recognize a qtp page?
What are the properties you would use for identifying a browser and page when using descriptive programming?
when i was doing the Flight reservation with QTP calculating the tickets i got Type mismatch: '[string: ""]' in "If cdbl(tot)=cdbl(p)*t Then" error. where I am doing the mistake Could you please tell me.
How to release all resources file from the QTP?