[wtr-general] Re: How to Trace the change in a field

2011-03-03 Thread Ashu
The xpath for the html html counter change1 is xpath /html/body/div/div/div[4]/div/fieldset/table[3]/tbody/tr[9]/ td[2]/div On Mar 3, 2:17 pm, Ashu wrote: > hi, > there is a field on the php page that keeps track of the change in > counter field. > On every next refresh the value changes of th

[wtr-general] Re: How to Trace the change in a field

2011-03-03 Thread orde
Find a way to determine the value of and assign it to a variable. On Mar 3, 1:35 am, Ashu wrote: > The xpath for the html > html  counter change class="normal">1 > > is xpath  /html/body/div/div/div[4]/div/fieldset/table[3]/tbody/tr[9]/ > td[2]/div > > On Mar 3, 2:17 pm, Ashu wrote: > > > > >

[wtr-general] Re: How to Trace the change in a field

2011-03-03 Thread Ashu
ya I agree with Orde well my testing page contains multiple "" with same class = normal and div contains class = system for every "" On Mar 3, 10:27 am, orde wrote: > Find a way to determine the value of and assign > it to a variable. > > On Mar 3, 1:35 am, Ashu wrote: > > > The xpath for the

[wtr-general] Re: How to Trace the change in a field

2011-03-04 Thread Chuck van der Linden
If I read you correctly, the challenge is "get the contents of the second cell on the table row where the first cell is 'change counter'" is that right? Presuming that "change counter" appears nowhere else in that table, AND that you have some way to identify the table itself, or a container that

[wtr-general] Re: How to Trace the change in a field

2011-03-07 Thread Ashu
Yes, you are right Chunk, My HTML code looks like this - /html/body/div/div/div[4]/div/fieldset/table[3]/tbody/tr[9]/Change counter0 I have tried as suggested by you, It gives me following error... C:/Ruby186/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/ jssh_socket.rb:12:in `const_get': w

[wtr-general] Re: How to Trace the change in a field

2011-03-08 Thread Chuck van der Linden
That doesn't look like HTML to me, it looks like an xpath. Show us the actual HTML for the page, Show me line 12 of your attempt to use the code I suggested, since that is where the error is On Mar 7, 1:26 am, Ashu wrote: > Yes, you are right Chunk, > My HTML code looks like this - > /html/body