In the Web page we have a table link, if we click on that
link all the contents under that link will be sorted
(asscending/Descending). Now i want to check in which order
the list is ? for that i need to get the data in to some
var How can i get that cells data?
Answer / Gaurang Raman Srivastava
To get the cell data after sorting, you can use a loop and an array or list to store the sorted values. First, traverse through each row of the table after clicking on the link, and then for each column (cell), store the value in your array or list. Once all the cells have been processed, you can check the order of the data in your array or list.
| Is This Answer Correct ? | 0 Yes | 0 No |
Mention when to use function procedures and what are its characteristics?
What is the difference between Javascript & Vbscript?
What are the disadvantages of vbscript?
How to copy from one script to another script in qtp
Which constant is used for print and display functions and works as same as pressing enter key?
Plz give the vb script for the following scenerio. In travel booking we have to select from delhi to mumbai from the combobox The prices will be display in another combo box .But i have to select the lowest price for it and submit it
Mention if qtp generates vbscript code as we record actions, can't it possible to directly write using vbscript code when qtp does the same thing too?
How do you write an SQL insert statement?
Which in-built function is used to format the number in the vbscript language?
What are the advantages of vbscript?
I need to get some data from data base and store this (retrieved) data in a excel sheet using VB script in QTP9.0 I have created connection for data base I have created as excels sheet by using Set XL=CreateObject("Excel.Application") XLworksheet.cells(1,1).value= rs.fields.item("<<The data retrieved from data base >>") I have taken a for loop and changed the cells values (1 as i and another 1 as j) But still I am not able to get Plz kindly tell me know this . It is very urgent
am giving to one number u can set into that in date format.u can use any methods