Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get text of weblement
#11
Solved: 10 Years, 9 Months, 3 Weeks ago
Hi Manish,

I have tried it with below code.
Code:
For i = 1 To DataTable.GetRowCount
   DataTable.SetCurrentRow(i)
   MsgBox DataTable.Value("DataTable Column Name", dtGlobalSheet)
Next


But It displayed blank values for some iteration.
For Ex. If Run for All is set
For first iteration it displayed as below
1. Expected velue
2. Blank value
3. Blank value. ( I have used three parameters)

For second iteration it displayed
1. Expected value
2. Expected value
3. Blank value.

For third iteration it displayed
1. Expected value
2. Expected value
3. Expected value

If I set Run for one Iteration then it displayed
1.Expected Value
2. Blank value
3. Blank value

Can you please tell where we r wrong in the For Loop ?

Thanks

Sudhir
Reply


Messages In This Thread
How to get text of weblement - by sudhirzpatil - 12-15-2010, 11:13 PM
RE: How to get text of weblement - by sudhirzpatil - 12-21-2010, 10:11 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Need to Validate Text filed is blank after clicking on the Text box balak89 3 4,557 09-13-2015, 12:06 AM
Last Post: ADITI1992
  I am trying to extract text from a webelement but it is generating blank text scenari excellentpawan 2 4,300 08-13-2013, 08:37 PM
Last Post: excellentpawan
  how to find a particular text in a text string pjavvaru 3 16,661 06-04-2010, 08:49 PM
Last Post: jsknight1969
  Retrieve text from Text Checkpoint Amit Singh Chauhan 1 2,343 08-20-2009, 07:15 PM
Last Post: basanth27

Forum Jump:


Users browsing this thread: 2 Guest(s)