Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to pass the data frm datatable
#1
Not Solved
Code:
If a="Adidas"Then
        Msgbox "Sucess"
        Val1(j).click
        Exit for
    else
        wait(1)
    End If
Next

In the above code i need to pass the Adidas value from datatable... how to pass the data frm datatable

Code:
Set odesc=Description.Create
odesc("micclass").value="WebElement"
odesc("class").value="rcbItem  "
odesc("html tag").value="LI"
Browser("Link Express - Booking").Page("Link Express - Booking").WebElement("select").Click
wait(2)
Browser("Link Express - Booking").Page("Link Express - Booking").highlight
Set val=Browser("Link Express - Booking").Page("Link Express - Booking").ChildObjects(odesc)
val(4).click

In the above code i need to pass the 4th value from datatable... how to pass the data frm datatable
Reply


Messages In This Thread
how to pass the data frm datatable - by silpavinod - 10-17-2012, 06:23 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PASS/FAIL in QTP badri 3 5,911 12-05-2014, 03:26 AM
Last Post: kiranpol
  Function writes data from datatable to database Fairbanks 0 2,403 06-27-2014, 07:51 PM
Last Post: Fairbanks
  Retrieving data from Txt file into datatable kriday 3 5,566 07-23-2013, 11:04 AM
Last Post: vinod123
  Unable to insert data into datatable Prashanth 1 3,473 05-10-2013, 03:07 PM
Last Post: Saket
  How to pass all rows from data sheet in a function argument richa07 1 2,838 10-15-2012, 03:06 PM
Last Post: srinath_QTP

Forum Jump:


Users browsing this thread: 1 Guest(s)