[wtr-general] Re: Need support in using POST method in RUBY

2011-03-06 Thread Ashu
hi,
Actually there was no need of POST in this case as my problem got
resolved by including sleep statements.
Thanks alot for the support and guidance.
This forum has truly helped me sought out numerous issues.
Thanks.

On Mar 4, 10:58 pm, Chuck van der Linden sqa...@gmail.com wrote:
 Monitoring HTTP traffic between the client and server is a completely
 separate issue, and yes there are tools for that (including Fiddler2
 on windows), but I don't think that's what the OP was asking about.

 On Mar 3, 2:28 am, Danijel danijel.vuko...@gmail.com wrote:

  In one way you can use watir-selenium , they have function

  Selenium for Java [java] Checking network 
  traffic,https://mail.google.com/mail/?shva=1#inbox/12e77a83a1360d2d
  you can read there about session data.

  br,Dani

  On 2 mar., 07:22, Ashu ashay.n...@gmail.com wrote:

   Hi,
   I am making use of POST method to trace and element in a PHP file
   which needs to be automated. While trying to locate through the XPATH,
   watir was unable to locate the element as the page that was referenced
   was a PHP page.
   I would like to learn more on the POST parameters.
   resp, data = http.post(path, data, headers)
   As 'Content-Type' = 'text/xml'
   And what is data parameter?
   What should I assign to 'data' parameter?
   Thanks...

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


[wtr-general] Contains Text

2011-03-06 Thread Soori
All,

I would like to search for a text My Engineering Services on a
webpage. This can be a link too.

Should I use contains_text method or text_include method?

Please advice.

/soori

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] Contains Text

2011-03-06 Thread Wesley Chen
You may try: ie.text.include?(***)

Wesley.
For life, the easier, the better.


On Mon, Mar 7, 2011 at 1:18 PM, Soori sure...@gmail.com wrote:

 All,

 I would like to search for a text My Engineering Services on a
 webpage. This can be a link too.

 Should I use contains_text method or text_include method?

 Please advice.

 /soori

 --
 Before posting, please read http://watir.com/support. In short: search
 before you ask, be nice.

 watir-general@googlegroups.com
 http://groups.google.com/group/watir-general
 watir-general+unsubscr...@googlegroups.com


-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com