Posted: 16 May 2017 17:30 EDT Last activity: 16 Oct 2018 12:03 EDT
Value getting entered into the textbox but when clicking on Go button nothing is happening on the application
I have an Angular JS application in which i need to enter the value in a text box and click on Go button.Manually its working fine but when i am entering value using OpenSpan and clicking on the Go button nothing is happening,
You will likely need to raise the appropriate JS events. You will need to look into the source of the page and determine what JS events it is listening for (look for onclick, onchange, etc....). The control will have a RaiseEvent method that you can call and set the event to the ones required. You may need a combination of events. Usually, I start with onkeyup, onclick, and onblur.
Raise event allows you to do what the page expects to recognize your input. A little detective work is needed to figure out what events are required. Generally, you would raise an event once you have set the text. this forces the page to recognize the text. For instance, onblur means that the control has lost focus, onchange means that the control has changed and so on. Bu looking at the OuterHtml for your controls you can sometimes spot which event is required.
It sounds like this may require some hands-on assistance. This process is really a trial and error to determine what the website is expecting and triggering the same events. If you are unable to resolve using a combination of calling the RaiseEvent method, then you should open an SR with support. If you do, please include the number here for tracking purposes.