Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compare second web list value according to the first web list value
#2
Not Solved
Find the below snippet to give a quick idea how to handle this scenario.
Code:
WL1Selection = DataTable("List1")
Print "WL1- " & WL1Selection
Print "--------------------------"
For iWL2ListItem = 1 To DataTable.GetRowCount
       DataTable.SetCurrentRow iWL2ListItem
    WL2ListItme = DataTable(WL1Selection)
    If WL2ListItme <>"" Then
        Print WL2ListItme
    End If
Next
Global Data Table:

Code:
List1 | AA  | BB  | CC  |
-------------------------
AA    | 1   |  4  |  7  |
-------------------------
BB    | 2   | 5   |  8  |
-------------------------
CC    |  3  |     |  9  |
-------------------------

OutPut:-
Code:
WL1- AA
--------------------------
A
B
C
WL1- BB
--------------------------
D
E
WL1- CC
--------------------------
G
H
I
Thanks,
SUpputuri
Reply


Messages In This Thread
RE: Compare second web list value according to the first web list value - by supputuri - 10-07-2015, 09:14 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Can QTP handle slick grid table in a web page qtplearner88 2 4,491 10-01-2019, 10:44 AM
Last Post: shilpi952
  Handling Web list running Jquery Divya Srivastava 1 1,494 09-07-2018, 08:42 PM
Last Post: Ankur
  Child Object Not able to identified in Web Menu Link noor 0 1,857 01-21-2018, 04:44 PM
Last Post: noor
Sad How To Find Dropdown Object based on Values from the dropdown list mesg2anil 12 34,041 12-19-2017, 10:25 PM
Last Post: sandy2404
  Trying to create List box in excel sheet at Run time with values yes No JACKSPARROW 0 1,707 01-17-2017, 11:05 AM
Last Post: JACKSPARROW

Forum Jump:


Users browsing this thread: 1 Guest(s)