Hi , I am new to VBscripting, My requirment is to write a
vbscript to read a row (which has coloumns like
Description, Code, date(DD/MM/YY), hours etc) and export
these feilds to a Website and then click on Submit
Automatically on that web page. This it should do for all
the Rows in that excel file. Any help is much appriciated
Thanks
Shalini
Answer Posted / samrat
DataTable.AddSheet "qtpsht"
DataTable.ImportSheet path,"srcsheet","qtpsht"
rowcnt=DataTable.GetSheet("qtpsht").GetRowCount
For i=1 to rowcnt
datatable.Getsheet("qtpsht").Setcurrentrow(i)
'Invoke ur application
'get the test data and store in variables
StrDescription=DataTable.Value("Description",qtpsht")
StrCode=DataTable.Value("Code",qtpsht")
Strdate=DataTable.Value("date",qtpsht")
'apply the above variables into ur application and then
submit
'close ur application
Next
hope this meet ur rqmt..
crct me if iam wrong...
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
in a web page hoe to check the dynamic links that rechabging with out using regular expressions
What the differences are and best practical application of Object Repository?
I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.
what is the hierarchy to use properties in descriptive programming
What do you mean by iteration?
i need qtp tutorial. pls send it to sridhar.k151@g mail.com
Explain how you can find length of array in qtp?
If created one virtual object? Next time I changed the window position will it work?
How many types of parameters are available in quicktest professional?
how to do the batch testing in test director using manual testing procedure?
unique properties of button,edit box, radio button,check box?
In qtp, explain what is keyword driven automation framework?
What is the use of Debug Viewer?
What is QTP scenario.
how to convert 100 into hundred repees only and viceversa