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.

Recording only the url but not other actions

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

Using trial version of Sahi 3.6, tried recording the application have struck with some issues which are as follows:
1. In controller entered the script name and clicked Record and then entered the URL in "entered Url" text field and clicked "Go" button. Our application url is not opening, it says connecting. Yesterday the login page was displayed but today it says connecting and not displaying login page.
2. Once the login page is displayed, the controller displays "_navigateTo("url"), when I enter login id and password actions are not recorded.

Could you please help me as I have evaluate the tool.

Note: Actually, last week when the demo was given by Mr. Narayan and he could record it smoothly with out any issues. I believe this may be some user mistake, kindly let me know if I am missing anything.

Thanks,
Satish

Comments

  • Hi satish,

    Can you check if there is any changes made in the application?

    Is it possible to share the URL with us?

    Also, enter the URL at Address bar and check if it works fine.

    Regards
    Sumitra
  • Hi Sumitra,

    Thanks for the quick reply.

    I have tried entering the URL at address bar and that also is taking time. I believe that I am missing something as Mr. Narayana was able to record/play during the demo without any issues. There weren't any changes in the application since Aug 16th.

    qa dot securegrc dot com

    Regards,
    Satish
  • Hi Satish,

    Can you try using _wait() API.

    For Details:

    http://sahi.co.in/w/_wait

    Regards
    Sumitra
  • Satish

    http://sahi.co.in/w/version-check

    From here u can download and try to record a new script.

    Regards
    Sujata
  • Hi,

    Tried with Sahi 3.5, still facing the same problem.

    Thanks,
    Satish
  • Hi Satish,

    Can you delete certgen folder in Sahi Pro by navigating to <SahiPro-home>/userdata/certgen.

    Restart Sahi. Check if this solves your issue.

    Regards
    Sumitra
  • Thanks Sumitra.

    After deleting the certgen folder the url is opening but the actions (entering login id & pwd) are not captured in the controller.

    Regards,
    Satish
  • Hi Satish,

    Can you set a value in Login ID through Controller and check. Do Ctrl+Hover on Login ID,use _setValue to set a value with what accessor field is displayed.

    ie,

    _setValue(_textbox("x-auto-9-input"), "sbdujhdd");

    Also,let me know which browser are you using?

    Regards
    Sumitra
  • Hi Sumitra,

    Thanks a lot for following up the issue. Appreciate your support.

    Tried the same thing in Firefox 4.0.1, the previous issue (application is not opening even after deleting the certsgen folder under userdata) is coming. But when used Google chrome, the application is coming properly.

    I have tried using chrome (ver 14.0.835.109) _setValue(_textbox("x-auto-9-input"), "sbdujhdd"); in the controller and clicked "Test" button getting the following message:

    [Exception] Error: The first parameter passed to _setValue was not found on the browser


    When selected Ctrl+Hover and when mouse over the login label and text field nothing is captured in controller.

    Just want to inform you that I already have installed Sahi 3.5 two days, hope this is not creating any issues while recording in 3.6.

    Thanks,
    Satish
  • Hi Sumitra,

    please ignore the above "[Exception] Error: The first parameter passed to _setValue was not found on the browser"


    when I tried to evaluate the expression:

    "_setValue(_textbox("x-auto-9-input"), "mitchelle@egestalt.com");"

    am getting the below error in chrome:

    [Exception] TypeError: Cannot call method 'top' of undefined

    Thanks,
    Satish
  • This is resolved.

    Problem:
    The URLs of the application and the controller were not same. Hence, the controller was not able to identify the elements.

    Solution:
    The controller was re-opened from the application.

    Closing this.

    Sumitra
This discussion has been closed.