18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

Control from 1st web browser to second web browser

hari2411hari2411 Members
edited November -1 in Sahi - Open Source
Hi,

I'm a starter to this automation tool. I'm not an expert in Javascript too.
I just started trying out my first example, here i'm facing this issue. It looks to be a small issue. But I don't know to resolve it.
If anyone can help me it would be great.

I've couple of menu and menu items in my application. On clicking a Menu Item the application should open another browser (kind of pop-up). There i can make some selections and progress.

The issue is when recording things look gud. But during play back (i'm using this command(_click(_span("Menu Item")) for click of the menu item) the second browser is not getting opened.

How could i fix this

Hari

Comments

  • narayannarayan Administrators
    Hari,

    If you manually click during playback, does it work? Which browser and operating system are you on?

    Do the following and try again:
    1) Clear browser cache
    2) Turn off any popup blockers

    Regards,
    Narayan
  • Yes it does work. when i manually click the menu item during the playback the dialog box open. The applcation is deployed in Linux OS. The testing OS is Windows XP and the browser is IE 6.0.2

    Tried these 2 options. No help :(

    >>Do the following and try again:
    >>1) Clear browser cache
    >>2) Turn off any popup blockers

    This is what really happens.

    I have a webpage. when i click on a particular menu item (_click(_span("My Item"))), A dialog box should appear. In that dialog bog i have to select a radio buttion option (_click(_radio("f.0000[1]"))) and click on accept button (_click(_span("Accept"))). This is what is expected. and No Problem during recording.

    During playback,
    The dialog box doesn't show up and the script fails during the selection of radio button option. How should i handle this ? The error is shown below.
    _click(_span("My Item")); at Jul 17, 2009 3:01:04 PM
    _click(_radio("f.0000[1]"));
    Error: The parameter passed to _click was not found on the browser No trace available Click for browser script [object Object] at Jul 17,2009 3:01:17 PM
  • narayannarayan Administrators
    Is it possible for you to run on IE7? I will need to verify if it is an IE6 bug.
Sign In or Register to comment.