Please give me the steps to carry out datadriven in QTP8.2
Answers were Sorted based on User's Feedback
Answer / shreya kadiyam
Tools menu > data driver > select sample inputs in
automation program > click parameterize options icon to
select XL sheet coloumn name > click "OK" > Click finish
once you are well familiar with QTP then directly in the
test pane you can write
set datatable("column name",dtglobalsheet/sheetid)
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / noor
I'll take an example of login screen and explain.
first record the login page.
u can see the recored script in the expert view.
Browser(" WWW").Page("ABC").webedit("").set "XYZ"
Know if u want to parameterize username one can do it
manually by writing script in the expert view or using
wizard data driver, under tools menu click on datadriver
in the wizard select datatable as parametertype and in Name
and u can select the location as well global or localvalue
field u can change the name give Username and click ok
username will be added to datatable as column name under
that u can give diff values then run the script.this is
using data table.parameterization can be done using
environmental var and random numbers aswell.
validations can also be done with parameterization
various methods u can apply.
| Is This Answer Correct ? | 0 Yes | 0 No |
Hi, I am using OutputCheckPoint for 2 webelements Bed:4 and Bath:2 Full,1 partial in my result page and I am storing the value in the data table. I dont need the string Bed:4,I would like to get only the no 4. How can I get it? Even though I highlight only 4,It is seleting the full value "bed 4". Same thing happend for second webelement Bath:2 Full,1 partial I need only the No 2. I used the following to split MyArray = Split(UIBathResult, " ", -1, 1) But it is giving the value My Array(0)=Bath:2full,1Partial I need the only the nos for further comparision.Any help? Thanks Uma
Analyzing the Checkpoint results ?
Explain how qtp identifies objects?
1.In VB Script 100 lines Script. How can check the Syntax errors? 2. Write a VB Script for X = India/Srilanka/Australia/England/South Africa.I need the Output Country wise? [ 1st Msgbox India , 2nd Msgbox Srilanka] ---- 3. How can Choose these test cases to be automated?
what is frame work?
In one of the scripts the pwd in the DT was encripted. Can any one tell me how to I decript or undo the same?
can u put checpoints for moving images
I have 3 browsers i want to give facebook url in 2 nd browser using qtp
What is synchronization point in QTP?
How to record & run on Japanese language application using english version of QTP ???
How exactly you start scripting in QTP? In the interview he was not satisfied with my answer.Please post what is correct answer.
How open an excel sheet in QTP(not a run time )?