isn't a "modal_dialog" but rather a div, a lightbox or
> something similar. Try using IE dev toolbar or Firebug to recognize it and
> work with the div.
>
> -c
>
> On Mon, Jan 11, 2010 at 1:31 PM, maven999 wrote:
>
> > I should point out that while the wind
I should point out that while the window's main div (dijit_Dialog_0)
has no title, the inner html tag within it (dijitDialogTitleBar) does
have a title. Using this title still gives me a 'Modal Dialog not
found' error.
Any help is appreciated, thanks!
On Jan 11, 12:02 pm, maven9
Hi,
I have a dojo dialog box (to search for a customer) that pops up when
I click on a button on the main window. I have tried all methods to
locate it, but none of them worked. The source of the dialog box is:
Account Search
x
I tried the
Hi,
I have a test that enters some info (date, time, etc) and then clicks
a 'Modify' button. The html code for the Modify button is (the text on
the button is 'Modify'):
My Watir test code to simulate this clicking is:
$ie.button(:value, 'Modify').fire_event('onclick')
The button gets clicke
Hi Sai,
Great effort! Can you tell me if I can test different types of Flash
apps with your extension? For example, Flex graphs?
Thanks!
On Dec 19, 8:24 am, Wilson Xu wrote:
> Thank you for your response quickly, it makes sense.
>
> Wilson Xu
>
> On Dec 19, 7:05 pm, sai wrote:
>
> > Sorry. I
t the element via TH tag.
Thanks all!
On Dec 18, 10:05 am, maven999 wrote:
> Hi Wilson,
>
> Unfortunately, the app is not publicly available so I cannot attach
> the html file.
>
> al3kc, I tried the xpath method you suggested but it didn't work
> either. I
Hi Wilson,
Unfortunately, the app is not publicly available so I cannot attach
the html file.
al3kc, I tried the xpath method you suggested but it didn't work
either. I get the following error:
1) Error:
test_Statistics(TC_UI):
NoMethodError: undefined method `click' for nil:NilClass
C:/r
n't be supported by Watir, but I could be wrong.
>
>
>
> On Wed, Dec 17, 2008 at 1:11 PM, maven999 wrote:
>
> > Hi,
>
> > I have a dojo grid that I want to sort by column. The grid has 2
> > header cells named stat_name and stat_value. The header cell by
&g
Hi,
I have a dojo grid that I want to sort by column. The grid has 2
header cells named stat_name and stat_value. The header cell by
default does not have a 'sort' arrow that I can click. The sort button
becomes visible when I click on the header cell the first time, after
which I can sort up or
Sorry, I didn't see the previous message before I posted the above
reply.
Ravi, it worked! Thanks...so looks like my regexp was wrong all
along.
Thanks Paul for pointing me to text.
Watir forum ROCKS!
On Dec 16, 1:16 pm, maven999 wrote:
> The problem is that db_data is the id for 2
you expecting
> @mytestvalue = $ie.span(:id, 'db_data').text.matches(/"db_\\[0-9\\]*/)
>
> to return ( ie what are you hoping to get back ). he to_s on the end
> iis unlikely to be needed
>
> Paul
>
> On Tue, Dec 16, 2008 at 11:02 AM, maven999 wrote:
>
> > Hi
[0-9\\]*/)
>
> ( i think its the .text method you want, if it gives an undefinedied
> method error, I got it wrong ;-) )
>
> On Tue, Dec 16, 2008 at 10:28 AM, maven999 wrote:
>
> > Hi all,
>
> > I'm trying to grab a string from a block of span text from my UI.
Hi all,
I'm trying to grab a string from a block of span text from my UI. The
block has and the block is
Connected to: Current Database (db_1229419050)
Created: Tue, 16 Dec 2008 09:17:30 GMT
Next creation: Tue, 16 Dec 2008 15:17:30 GMT
I want to grab the db_* string so I can compare it to the
he understands you are questioning to understand, not
> questioning their coding skills or methods..
>
> On Dec 1, 10:10 am, maven999 <[EMAIL PROTECTED]> wrote:
>
> > Chuck, your guess was correct.
>
> > The following code worked in that I was able to
Hi all,
I'm trying to connect to a postgresql db through Watir, execute a
query and output the result of the query to a .csv file. I can
connect, query and print (puts) to screen correctly, but am unable to
put the output to the .csv file.
require 'watir'
require 'postgres'
conn=PGconn.connect(
hat's not enough to get you going in the right direction,
> please post a larger section of the page code (or point us at a
> similar page that is publically available) as Wesley requested.
>
> On Nov 24, 10:35 am, maven999 <[EMAIL PROTECTED]> wrote:
>
> > Hi Ch
e in the code above is basically
> just text..and normal text isn't clickable as far as I know.
> maybe there's some other object that's actually overlapping that
> button
>
> On Nov 21, 11:30 am, maven999 <[EMAIL PROTECTED]> wrote:
>
> > Hi all,
>
Hi all,
I have a drop down menu that can only be accessed by clicking on a
down arrow character (▼) on the combo box. The html for the click
location is pasted below:
▼
Flashing the button works:
$ie.div(:class, 'dijitDownArrowButtonInner').flash
But clicking it does not work:
$ie.div(:cla
owser needs to be in a startup method. The error
> message you are getting is telling you that @ie is nil (because it has
> not been initialized).
>
> Bret
>
> maven999 wrote:
> > Hi all,
>
> > I am trying to write some code to log into an app via a pop-up window
> &g
Hi all,
I'm trying to grab and print the text 'db_ABC' from the browser page.
On the page, the text is "Connected to: Current Database (db_ABC)".
The html code is:
Connected to:
Current Database
(db_ABC)
Created:
Fri, 14 Nov 2008 14:37:31 GMT
When I try:
@ie.div(:id, db_top).span(:id, db_da
Hi all,
I am trying to write some code to log into an app via a pop-up window
and then click some tabs inside it. However, when I try to encapsulate
the login logic into a method, I get an error on console. I am pasting
my code below followed by the console error. Any suggestions as to
what I'm d
Thanks. Weirdly, issue was resolved when I cleared my cache and
restarted browser.
On Nov 6, 1:55 am, Tony <[EMAIL PROTECTED]> wrote:
> HiMaven,
>
> This is just a suggestion ... and others might have better ones
> When testing a website (usually test env) certificates might expire
> and get rene
Hi,
I'm writing a basic script to log into an https site. When I use IE7
outside the script window to access the site, I first encounter a page
stating that there is a problem with this website's security
certificate. I thus wrote my script to click on the ''Continue to this
website (not recommen
23 matches
Mail list logo