Button Control unrecognized by CuiteRecorder1.0.6

Feb 21, 2014 at 12:54 AM
Hi,

I'm recording page control through CUITE Recorder(1.0.6.0), later which I'll use that in automation script(CuiteScript).
Issue: There is a button which is not recognized by CuiteRecorder.
<button class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" type="button">
<span class="ui-button-text">OK</span>
</button>

Although I manually try to a add an object to access this control, but that didn't recognize in play back. I tried my luck with following, no success. :(


public CUITe_HtmlInputButton btnOK = new CUITe_HtmlInputButton("InnerText=OK");
Feb 21, 2014 at 2:16 PM
Does just using the span work?
public CUITe_HtmlSpan spnOK = new CUITe_HtmlSpan("InnerText=OK");
I have run into issues with button before where I've ended up having to use the span to click on it, instead of the actual button.