Forum Discussion
rraghvani
2 years agoChampion Level 3
Use the Object Spy tool to spy on First Name edit box and create a name mapping called Firstname. Then call the following code (JavaScript) to see if it works,
Aliases.JANUA_UI_WPF.HwndSource_MainWindow.Firstname.SetText("Sophie")
If the above does not work, then try to Record Script, to see how TestComplete has identified the object and the method used to enter "Sophie"
The name mapping has to be correctly setup to identify the UI control, otherwise TestComplete will not be able to find or interact with the UI control.
To undo the accepted solution, click on the 3 dots and select un-accept solution or not the solution.
Related Content
- 2 years ago
- 4 years ago
Recent Discussions
- 22 hours ago
- 22 hours ago
- 5 days ago