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?



In the Web page we have a table link, if we click on that link all the contents under that link wi..

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

Post New Answer

More VB Script Interview Questions

Mention when to use function procedures and what are its characteristics?

1 Answers  


What is the difference between Javascript & Vbscript?

2 Answers  


What are the disadvantages of vbscript?

1 Answers  


How to copy from one script to another script in qtp

4 Answers  


Which constant is used for print and display functions and works as same as pressing enter key?

1 Answers  


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

1 Answers   IBM,


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?

1 Answers  


How do you write an SQL insert statement?

4 Answers   HCL,


Which in-built function is used to format the number in the vbscript language?

1 Answers  


What are the advantages of vbscript?

1 Answers  


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

1 Answers  


am giving to one number u can set into that in date format.u can use any methods

1 Answers   HP,


Categories