18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
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 Playback the Sahi Script Generated fro A GWT application
OS Name :Windows XP
Browser Name and version : IE 8
Sahi Build : V 3.5
HI Team,
I am trying to automate a GWT application where in the sahi recorder records the test and when it is played back the scripts fails as the label/id of the GWT component changes every time.
Posting you the bit of my script
_click(_div("12 Dec 2012"));
_click(_cell("5"));
_click(_cell("GGH-4N5BOC GGH-4N5BAD GGH-4N5BHD GGH-4N5BKD"));// cell id which changes it fails during playback
_click(_cell("GGH-4N5BOC GGH-4N5BAD GGH-4N5BHD GGH-4N5BKD GGH-4N5BID"));
_setValue(_textarea(0), "For Test");
_setSelected(_select(0), "ATI1120072206-1");
_setSelected(_select(1), "Food");
_click(_div("0.00"));
_click(_div(105));
_setValue(_textbox(1), "50");
_click(_div("0.00"));
_click(_div(106));
_setValue(_textbox(1), "10");
help would be appreciated
Thanks in advance
Regards:
Raosgm
Browser Name and version : IE 8
Sahi Build : V 3.5
HI Team,
I am trying to automate a GWT application where in the sahi recorder records the test and when it is played back the scripts fails as the label/id of the GWT component changes every time.
Posting you the bit of my script
_click(_div("12 Dec 2012"));
_click(_cell("5"));
_click(_cell("GGH-4N5BOC GGH-4N5BAD GGH-4N5BHD GGH-4N5BKD"));// cell id which changes it fails during playback
_click(_cell("GGH-4N5BOC GGH-4N5BAD GGH-4N5BHD GGH-4N5BKD GGH-4N5BID"));
_setValue(_textarea(0), "For Test");
_setSelected(_select(0), "ATI1120072206-1");
_setSelected(_select(1), "Food");
_click(_div("0.00"));
_click(_div(105));
_setValue(_textbox(1), "50");
_click(_div("0.00"));
_click(_div(106));
_setValue(_textbox(1), "10");
help would be appreciated
Thanks in advance
Regards:
Raosgm
Comments