I am new to test complete I am trying to use a generic method to create script but I am not able to combine browser and element
Function EditText (BrowserObject,EditboxName, EditValue)
BrowserObject.EditboxName.SetText EditValue
End Function
but the standard script like Aliases.browser.WebOrders2.ctl00MainContentfmwOrdertxt.SetText EditValue
is working fine.
When I run the script It is showing Waiting for EditboxName I tried object.TextBox(EditboxName) but not working Please help me..