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


Please Help Members By Posting Answers For Below Questions

Do you know how to connect database? Can you tell me the procedures?

767


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

1731


How to write business scripts using object repository with different scenarios

1628


Are Shared ORs read-only?

868


When to use descriptive programming?

828


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)

1788


How will you test a stapler?

840


How to test the login page in different ways in automation testing and i need code?

1581


How many types of recording facility are available in quicktest professional?

842


how do i know how to use tools

1694


How is the Bitmap checkpoint different from Image checkpoint?

841


Can UFT be connected to Quality Center? If ‘Yes’ brief the process or steps.

856


How can you identify the browser and its information using the qtp script?

796


What is recovery scenario manager? When you go for recovery scenario manager? Tell me one scenario were your used recovery scenario in your project?

805


when will you do debug your script? and explain that process?

1676