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.

Unable to parametarise the radio button

RahulRahul Members
edited August 2012 in Sahi - Open Source
Hi

I have a scenario where I need select the gender from the radio button value( 1 for male or 2 female) from the .csv file, the same i was not able to do that using data driven testing.

The script i have used is as follows.

_click(_radio($Gender));


I was getting the following error message

_click(_radio($Gender));


Error: The parameter passed to _click was not found on the browser

Can any one please help me to resolve this

Thanks in advance

Comments

  • could you try to _alert($Gender)? what does it say?
  • RahulRahul Members
    Hi globalworming,


    _alert($Gender) showing NULL

    Regards,
    Rahul
  • Well.. what does this tell you ;-)
  • RahulRahul Members
    Hi globalworming,

    But I have added value for that gender in .CSV file.Why it is not taking that value.

    One more query: Value with - (hyphen....like Finance - manager) in .CSV file also is not taking.Could you please tell me why it is not taking?

    Thanks
  • Well.. I would recommend searching the forum for "read csv file", try a little bit, debug with _alert if the values are read correct and if you still have problems, open a new thread like "problem with reading a csv file", ok?
Sign In or Register to comment.