Can anybody give the script to addsheet, add column,add
values under that column in the rows??
Answer Posted / priyareddy
We can create sheet, parameter and can assign value in one
step:
DataTable.AddSheet
("MySheet").AddParameter "Parametername","Value"
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Do you know how to connect database? Can you tell me the procedures?
I have written a code to fetch values fro access db and place in the fields. Iam using GetROProperty to fetch runtime values. Now i want to add runtime values to the access db in field v3. please help me. Its not writting in the db. Option explicit Dim con,rs,db,c Set con=createobject("adodb.connection") Set rs=createobject("adodb.recordset") con.Open "Driver={Microsoft Access Driver (*.mdb)};dbq=D:\Sales.mdb" rs.open "select * from tax",con Do while not rs.eof Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("incost").Set rs.fields("v1") Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("intax").Set rs.fields("v2") c=Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("outtax").GetROProperty("value") rs.MoveNext print c Loop Do while not rs.EOF rs.EditMode rs.Fields("v3").Value="3" rs.Update rs.MoveNext Loop Set rs=nothing Set con=nothing
How to write business scripts using object repository with different scenarios
Are Shared ORs read-only?
When to use descriptive programming?
i'm testing the webpage with QTP, in this wabpage i have to choose the CV from the window, but QTP can't recognize the object, so i used the Low LEvel Recording, but every time i run the test, QTP go to halt when it gets to the Recorded part, any solution for that?( except puting delay in the script and manuall selecting, because i've did that)
How will you test a stapler?
How to test the login page in different ways in automation testing and i need code?
How many types of recording facility are available in quicktest professional?
how do i know how to use tools
How is the Bitmap checkpoint different from Image checkpoint?
Can UFT be connected to Quality Center? If ‘Yes’ brief the process or steps.
How can you identify the browser and its information using the qtp script?
What is recovery scenario manager? When you go for recovery scenario manager? Tell me one scenario were your used recovery scenario in your project?
when will you do debug your script? and explain that process?