[wtr-general] Re: Can Watir support PHP based technology?

2011-03-03 Thread Super Kevy
excellent: To speed up your learning process look at the 1. api doc link: http://wtr.rubyforge.org/rdoc/1.6.5/ 2. Bretts cheat sheet: http://pettichord.com/watirtutorial/docs/watir_cheat_sheet/WTR/Cheat%20Sheet.html 3. Watir home examples http://watir.com/examples/ 4. Watir home docs

[wtr-general] Re: Can Watir support PHP based technology?

2011-03-02 Thread Ashu
Thanks alot... It was a very helpful reply from respected Super Key Looking at the time bound nature of the project, the above reply which actually worked out for me will be helpful in progressing ahead with the project. Thanks alot. I did observe that there are minor things that go overlooked

[wtr-general] Re: Can Watir support PHP based technology?

2011-03-01 Thread Super Kevy
First I'm glad you figured out whether php, java, ruby, asp it all plays in a browser as HTML. That should make your life easier. At some point go through the simple tutorials at http://www.w3schools.com/ Try this code fragment. Your trying to click an image button within a form require

[wtr-general] Re: Can Watir support PHP based technology?

2011-02-28 Thread Chuck van der Linden
On Feb 27, 8:44 pm, Ashu ashay.n...@gmail.com wrote: Yes, as the script is running on the IP address, so a webpage opens that is in PHP. Watir can detect the text that is written in td[2] xpath - /html/body/div/div/div[5]/div/div[7]/table/tbody/tr/td[2] But, There is an image file in the

[wtr-general] Re: Can Watir support PHP based technology?

2011-02-27 Thread Ashu
Yes, as the script is running on the IP address, so a webpage opens that is in PHP. Watir can detect the text that is written in td[2] xpath - /html/body/div/div/div[5]/div/div[7]/table/tbody/tr/td[2] But, There is an image file in the input below

[wtr-general] Re: Can Watir support PHP based technology?

2011-02-24 Thread Ashu
I am dealing with automation of the PHP web page. It repeatedly gives the error Unable to locate the element as compared to if the page is saved (web page complete) i.e.webpage.php.html. There are various fieldsets on the webpage, so before these fieldsets the class, id elements gets traced but

Re: [wtr-general] Re: Can Watir support PHP based technology?

2011-02-24 Thread Željko Filipin
On Thu, Feb 24, 2011 at 1:45 PM, Ashu ashay.n...@gmail.com wrote: It repeatedly gives the error Unable to locate the element Do you know how to use Firebug (or similar tool)? I will say this again: An example would be handy right about now Brian Marick would say. Željko -- Before posting,

[wtr-general] Re: Can Watir support PHP based technology?

2011-02-24 Thread Ashu
Yes, I have Firebud installed on Firefox and I am using it for dealing with elements(HTML automation) Its working fine for me with HTML page On Feb 24, 5:47 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Thu, Feb 24, 2011 at 1:45 PM, Ashu ashay.n...@gmail.com wrote: It repeatedly

Re: [wtr-general] Re: Can Watir support PHP based technology?

2011-02-24 Thread Željko Filipin
On Thu, Feb 24, 2011 at 1:49 PM, Ashu ashay.n...@gmail.com wrote: Its working fine for me with HTML page But there is a problem inspecting the page of your PHP app? Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

[wtr-general] Re: Can Watir support PHP based technology?

2011-02-24 Thread Chuck van der Linden
Like Z I think I'm perplexed here as to exactly what it is you are wanting to do. If the problem is elements not found on the page, and it works 'manually' from an IRB prompt, but not when you run the script, you might need to insert a few sleep statements here and there in your code to allow