in my database haveing 3X3 (manas having 3 rows 3 colums) i
want to test only (2nd row 3colum) bit how to test either
script or any automation plz explain? (Chandana)
Answer Posted / manjunatha
ple try this.
set c=createobject("ADODB.connection")
c.open "name of DB"
set r=a.execute("select * from emp(table name))
for i=0 to r.fields.count-1
print r(i).value 'r(6) for 3x3 matrix hard coded value
next
c.close
Name:Manjunatha.H
My no:8970870702
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How is the Bitmap checkpoint different from Image checkpoint?
Tell me about qtp?
I am facing an issue of object identification with the dropdown element of DHTML grid. When I tried to recognize these different dropdown objects, QTP identifies only one object for all the dropdowns. Hence, selection of different data from different dropdowns list is an issue. To overcome this problem, i have used Descriptive Programming technique by creating different object descriptions which have all the other properties same but differ only in one property i.e. ‘X’ location of the element on the screen. Hence, i have created distinct object descriptions that would allow us to select values in different dropdowns. The code is given below. But still I am unable to identify distinct dropdown objects. ‘Object Description for Dropdown Cell Status Set objCellStatus = Description.Create objCellStatus("micclass").value = "WebList" objCellStatus("name").value = "select" objCellStatus("x").value = 219 ------ ‘X’ Axis value for cell status drop down ‘Object Description for Dropdown Sub Segment Set objSubSegment = Description.Create objSubSegment("micclass").value = "WebList" objSubSegment("name").value = "select" objSubSegment("x").value = "319" ------ ‘X’ Axis value for sub segment drop down Please help... This is specific to DTML grid(Drop down object)
Explain the parameter in qtp?
before launching qtp, we need to close all the open browsers u dont know what are all the browsers either it might be ie,mozilla etc and u dont know how many brosers are open.... u need to close all these before launching qtp.. can anyone plz temme d solution...
what the difference between shared repository and per action repository?
In an interview, what r the general questions asked in QTP? pls give me anwser to this question?
When to use descriptive programming?
Where can I find and view run-time data table?
What are the differences between table and db checkpoints?
How to use Environment parameterization? Explain with an example.
What are the data types in qtp?
Analyzing the checpoint results?
What is the default add-ins in qtp?
How should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.