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
What is the default add-ins in qtp?
Which environments does qtp support?
Hi.. I want to do parametrization for selecting perticular flighr say XYZ by using local table: criteria: 1.If flight is available msgbox "Flight is available" and then select flight from flight table and click to ok button after that as enter username and ticket no and then stop 2. otherwise msgbox " Flight is not available" and stop Please help me out ..and let me know your responses on dipak.bachhav@gmail.com Regard, Dipak
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)
How to connect the remote desktop using QTP 9.2 explain the method or procedure?
what is the diff b/w assistive and mandatary rules of object repository in QTP???
How many types of actions are there in quicktest professional (qtp)?
Hi we are running tests remotely from quality center and pushing tests into qtp boxes remotely, and it does execution but while uploading results back into quality center it hangs in qtp box.If any one come across similar problem, please send me details how to handle this. Thanks kris
Explain different recording modes?
How many types of recording facility are available in quicktest professional?
Explain the views in the QTP GUI?
How do you create new test sets in td?
How to do the scripting. Are there any inbuilt functions in QTP? What is the difference between them? How to handle script issues?
Hi, I am working on microsoft infopath forms..It is standalone form..(not dotnet or web.) . I am not able to indentify any objects in it.. I am currently using active accessibility in the macro for the same but its execution is too slow.. Kindly help in case you have better solution.
We stored into the objects OR and then write the scripting