In Datatable having the data like this
S.no Name Address
1 raj hyderabad
2 suresh Mumbai
3 shyam chennai
4 dev banglore
i want to get the shyam row id & column id using scipting
i.e 3,3
Answer Posted / crazy boy
'' this is to search Shyam row and col in the webtable
DataRow=Browser("title:=givevalue").page("title:=GiveValue").webtable("name:=GiveValue").GetRowWithCellText("Shyam")
msgbox DataRow
ColumnCount=Browser("title:=givevalue").page("title:=GiveValue").webtable("name:=GiveValue").columnCount(DataRow)
for i=1 to Columncount
Data=Browser("title:=givevalue").page("title:=GiveValue").webtable("name:=GiveValue").getcelldata(DataRow,i)
if Data="Shyam" then
msgbox DataColumn
exit for
end if
next
msgbox "The Value is available in Row-->"&DataRow &" and Column -->"&DataColumn
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Where we can use the synchronization?
Can we run test with out adding object in object repository? How it is possible?
Hi, my requirement is to make a query in SQL using QTP. And i have to get the results of that query and i have to use those results for future testing. I created a driver but i dont know the code for using this Driver. please help me by providing the solution for y requorement
In Test Directory, What are the contents in test case designing? if you prepare in excel sheet how u use thrw Test Directory?
suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?
What is quick test pro?
In qtp, explain what is crypt object
How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..
What is the difference between call to existing action and copy of an action?
If we put all properties in mandatory and assistive list of Normal Identification, Do we still need Smart?
How you can write contexts to text file in qtp?
What is the difference between keyword view and expert view?
Explain the concept of object repository and how quicktest professional recognises objects?
What is checkpoints for qtp?
What are the various types of Actions in UFT?