Hi
I have a scenario where i need to click on every link in table then i
need to verify in next page.
I was using the below code:
myTable=ie.table(:index, 10)
iRows=myTable.row_count()
i=2
while i = iRows do
myTable [i][2].flash
myTable [i][1].focus
myTable [i][2].click
/td
/tr
On May 11, 2:31 pm, Wesley Chen cjq@gmail.com wrote:
Would you please put your html here?
Thanks.
Wesley Chen.
On Mon, May 11, 2009 at 4:38 PM, Shweta nagman...@gmail.com wrote:
Hi
I have
Hi Siva
thanks a lot,the solution u had given is working
i tried like this
ie.cell(:text=text on the tab).click
its working and iwas able to move to next tabs
thanks once again
Regards
Shwetha
On May 4, 6:15 pm, sHiVa krapa.ph...@gmail.com wrote:
Hi Shweta,
Index property will not visible
using ie.goto
Hope this helps!
-Tiffany
On Apr 30, 5:50 am, Shweta nagman...@gmail.com wrote:
Hi
I am using ie.goto(corresponding tab url) to navigate between the
tabs by script is running fine its performing the actions in each
tab,whereas in my application until unless i fill
Hi,
thanks shiva
1) Those tabs are standard tabs
2)
3)there is no index property avilable for the property
the properties/attributes that are available in the IE developer tool
are as follows
Namevalue
1) Class tabselected
2)
Hi
I am using ie.goto(corresponding tab url) to navigate between the
tabs by script is running fine its performing the actions in each
tab,whereas in my application until unless i fill the valid data in
all the tabs it will not navigate to other page from last tab.While
running it performs the
Hi
I tried with all those methods it does nothing.My script stops without
any error
On Apr 27, 10:30 am, Vishal bvkon...@gmail.com wrote:
Try
ie.table.fire_event(onmousedown)
ie.table.fire_event(onmouseup)
ie.table.fire_event(onclick)
On Apr 27, 10:19 am, Shweta nagman...@gmail.com wrote
Hi
In my application after i search for an id from serach page it
displays the result in a grid/table,There i need to click on the
result.later it navigates to other page there i need to perform the
actions.
I used something like this code:
ie.table(:index,1).click
It dint work out.
Can
the line that's causing
the problem to make sure the value you're trying to set isn't nil.
puts $record['PolicyNumber']
Hope this helps!
-Tiffany
On Apr 1, 10:08 pm, Shweta nagman...@gmail.com wrote:
Hi Jim
Still am getting the same error at this line
$ie.text_field(:name
HI
I am trying to open this link http://wiki.rubygarden.org/Ruby/page/
show/ScriptingExcel, which i got from google and which helps for
excel scripting.But its not opening showing HTTP404 error.
Can anyone suggest me is theer any basic excel scripting links
Hi
Am using arrays in my script to test with multiple data,the scenario
is in my application i have a search page there i am able to search
with different criteria and there is a clear button to set the values
to default.I am using different files as a libraries and am calling
all there files in
Hi
Am trying to parameterizing my test cases am getting some error,am not
understanding where am wrong i have gone thru the posts regarding this
i dint get any idea,Can anyone pls let me know whats wrong here
My code:
require 'watir'
require 'watir/testcase'
require 'watir/assertions'
require
= login(mtedfhhh,password)
$ie = searchinspections()
Can anyone suggest whats wrong here
On Apr 1, 2:41 pm, Shweta nagman...@gmail.com wrote:
Hi
Am trying to parameterizing my test cases am getting some error,am not
understanding where am wrong i have gone thru the posts regarding this
i dint
:in
`gem_original_require': no such file to load -- xls (LoadError)
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
Can anyone pls let me know
On Mar 31, 9:36 am, Shweta nagman...@gmail.com wrote:
I have searched with the prevvious posts there you told to check
While executing
@excel = WIN32OLE.connect(excel.Application)
following error has occured
Error:
ruby XLS_usage_example.rb
./xls.rb:36:in `initialize': unknown OLE server:
`excel.Application' (WIN32OLERuntimeError)
HRESULT error code:0x800401f3
Invalid class string from
Hi
When i was trying to parameterize with excel for login page am getting
this error.Can anyone pls let me know what might be wrong in this.
Error message:
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require': no such file to load -- xls (LoadError)
Hi
When i am trying to execute this code second time i am getting this
error but first time it worked fine.This was a sample code i got from
the advanced examples of watir general
error:
XLS_usage_example.rb:2:in `require': no such file to load -- watir
(LoadError)
Code:
require 'xls'
try with this
$ie.button(:name,ApplyAddDocument).click #try with Value also
instead of name property
or
Watir.autoit.Send('{ENTER}')
On Mar 31, 5:16 am, vladimir...@hotmail.com
vladimir...@hotmail.com wrote:
I need to select a document by clicking Browse... button.
After selecting the file
Hi
I got the previous code from old posts regarding upload file
I have tried with this still its not working same thing it hangs when
choose file window opened.I have placed it in C:\ and tried also as
well i renamed the file name as AReportOn.
code i used is:
OK Thanks for your quick response
On Mar 24, 4:08 pm, Željko Filipin zeljko.fili...@wa-research.ch
wrote:
On Tue, Mar 24, 2009 at 12:02, Shweta nagman...@gmail.com wrote:
Thanks.Its working fine but the choose file window is defaulting to
Desktop how to set to C:\ drive
I have also
Hi
I have generated a script from watir recorder and trying to run from
scite but displaying error as
MissingSourceFile: no such file to load -- safariwatir
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
active_support/core_ext/module/introspection.rb:70:in `const_get'
-research.ch
wrote:
On Mon, Mar 23, 2009 at 12:21, Shweta nagman...@gmail.com wrote:
I have generated a script from watir recorder
You will not get very far with Watir if you do not read this:
http://wiki.openqa.org/display/WTR/Quick+Starthttp://wiki.openqa.org/display/WTR/Tutorial
When i am trying to maximize the ie with the folllowing code am
getting this error message can anyone pls guide me where am doing
mistake
ie = Watir::IE.start(http://groups.google.com/group;)
ie.goto(http://http://groups.google.com/group;)
$ie.maximize()
am getting the following error message
Hi all
I am trying with this sccript to handle jaava pop ups can any one pls
help me regarding this?
If i run this script its not clicking on OK button and not displaying
any errors also
require 'watir'
$ie = Watir::IE.new
$ie.goto('http://www.google.com/preferences?hl=en')
Hi
I have a selection box in my application and its having scroll down
option with this by default one item will be selectd in that,manually
if i am selecting other item the default one will be deselcted and
recent one will get selected but when i am running a script in watir
it behaves as
HI
I need to test the pagination functionality in my application i have
links like this 1,2,3,..All and these are links How i can test
this or regularise this i was using code like this
ie.link(:href,http://qa.irma.icat.com/inspwebapp/
displayInspections.do?windowNumber=[0-9])).click
BUt
26 matches
Mail list logo