Hi,
I used to see Watir highlighting the accessed IE object in yellow.
However, after I upgraded my Ruby to 1.8.7 and Watir to 1.8.1, the
highlight does not work anymore. For example, Watir will still print
characters in a text field, but it won't highlight that text field in
yellow as it used to.
On Fri, May 20, 2011 at 2:03 AM, Ashok Tulachan
wrote:
> Hi steve, don't want to disrupt you but can you help me out with this?
Please do not post unrelated questions in existing threads.
Željko
--
watir.com - community manager
watir.com/book - author
watirpodcast.com - host
viaqa.mobi conferenc
On Fri, May 20, 2011 at 8:04 AM, Amit Bobade wrote:
> But when I run scripts by clicking them then scripts doesn't generate any
output (i.e. There is no output window.).
You run the script by double clicking rb file?
I suggest that you open command prompt and execute the file from there.
Please
Hi,
It is possbile.
You can can prepare data create XML file and export into some
application which will display graph of your execution and history of
execution.
At first you have to create Global variables such as:
testcasename
userstoriy
idtestcase
description,
starttime,
endtime,
..
Every
Thanks Željko. But running scripts using command prompt is okay for me. But
I have to deliver the scripts to somebody and he wants the results by double
clicking the rb files. So please send me appropriate solution for the same.
Thanks in advance.
On Fri, May 20, 2011 at 1:33 PM, Željko Filipin <
Thanks Dani,
I think this would be a great option. Could you please provide this in
detailed? Thanks in advance.
On Fri, May 20, 2011 at 1:39 PM, Danijel wrote:
> Hi,
>
>
> It is possbile.
>
> You can can prepare data create XML file and export into some
> application which will display graph o
On Fri, May 20, 2011 at 10:45 AM, Amit Bobade wrote:
> But I have to deliver the scripts to somebody and he wants the results by
double clicking the rb files.
Then create a ruby script that will output results to file. Daniel suggested
one way.
Željko
--
Before posting, please read http://wati
Thanks buddies.I will try this and will let you know the results. Thanks
for your help. :)
On Fri, May 20, 2011 at 2:18 PM, Željko Filipin <
zeljko.fili...@wa-research.ch> wrote:
> On Fri, May 20, 2011 at 10:45 AM, Amit Bobade
> wrote:
> > But I have to deliver the scripts to somebody and he
Hey Amit,
Kindly share the XML file once you are done.
Thanks in Advance.
Regards,
Ranjith
On Fri, May 20, 2011 at 11:34 AM, Amit Bobade wrote:
> *Dear all:*
>
> I am writing automation scripts using watir. I usually run scripts in
> editor and get output in the same. But when I run scripts b
Hello everyone. Thanks for your help once again. I decided to generate
report in HTML file instead of XML.
I found a very good article for the same. Here it is:
http://wiki.openqa.org/display/WTR/HTML+report+class
@Ranjith, Sorry I haven't created XML file. Please have a look of this :
http://wik
What it the click you are using that opens the popup is it
click or click_no_wait?
On May 19, 11:02 pm, ranjith kumar wrote:
> Hello Team,
>
> I have gone through one of the watir forums i found the code with auto it to
> click the pop ups.
> The code is working well with firefox browser but not
No answers yet :(...
I am able to select the dropdown for the respective row but i'm not just
able to iterate it.
Table name: $b.table(:id, /grid/)
1 2 3 4 5 2 100 100 3 100 100 text dropdown 4 100 100 5 100
100 text dropdown n 100 100
*i=0*
*c=$b.table(:id, /grid/)[2][4]*
*d=$b
fyi, what you are getting back is actually not an array, but a
'hash' (if you want to do some reading in any text on ruby to
understand more about how to work with such things
On May 19, 11:45 am, Abe Heward wrote:
> Figured out the answer myself. After the fact it's obvious:
>
> product_links[
Another option is to drive you tests with a framework that includes
results reporting as a capability (e.g. don't re-invent the wheel)
That's one of the reasons I tend to use Cucumber to create scripts
based on an executable specification, and implement the cucumber steps
using Watir code.
On May
Try something along these lines.
browser.table(:id, /grid/).rows.each do |row|
row[5].select("Value from the dropdown") if row[4].text.exists?
end
and for the sake of anyone having to read your code (including
yourself) start using variable names that mean something instead of c
or d (which re
Thank you very much Chuck, for your response. I will take your advice and
follow it graciously.
However, When i tried to put your code as given below., i got the following
error message.
browser.table(:id, /grid/).rows.each do |row|
row[5].select("Value from the dropdown") if row[4].text.exists?
A good historical and great points about tools, vendor salemanship,
recorders, and scientific methods.
Almost felt I've spent my test career following Bret accross the
universe.
Selenium vs Watir? Yeah Watir on Ruby is my choice and it rocks
On May 18, 11:27 am, Željko Filipin
wrote:
> http://wa
Try below code,
ai_instance=WIN32OLE.new('AutoItX3.Control')
if ai_instance.WinWait("Microsoft Internet Explorer", "", 15) == 1
then # If ai_instance is found
puts "Found Pop-up"
ai_instance.ControlFocus("Microsoft Internet
Explorer",popup_msg_actual,"OK") # Set the focus on OK button
18 matches
Mail list logo