
WebUI.setText(findTestObject(‘Object Repository/Page_Claim Search/input_Social Security Number_ctl03ctl00wizN_ef8075 (2)’),‘989-89-8989’)
When I run it, this line does not throw any error. However on GUI it is not insert/display value post successful execution. Even it is not masked on GUI level only the auto format.
hi,
not sure but try to add it with pieces
WebUI.setText(findTestObject(‘Object Repository/Page_Claim Search/input_Social Security Number_ctl03ctl00wizN_ef8075 (2)’),‘989’)
WebUI.setText(findTestObject(‘Object Repository/Page_Claim Search/input_Social Security Number_ctl03ctl00wizN_ef8075 (2)’),‘89’)
WebUI.setText(findTestObject(‘Object Repository/Page_Claim Search/input_Social Security Number_ctl03ctl00wizN_ef8075 (2)’),‘8989’)
thanks, I have tried this. Even I further try other ooptions such as breaking further into individual char in each line. In chrome it never displayed the value but in firefox it displayed only one character which further overwritten by the next character.
hi,
show html where this object is
in browser open press f12 (developer view) then click arrow button to inspect and select object
Another idea is to setText with tabs between the different parts:
WebUI.setText(findTestObject('Page_Claim Search/input_Social Security Number_ctl03ctl00wizN_ef8075 (2)'),'989\\t89\\t8989')
OR
import org.openqa.selenium.Keys as Keys
WebUI.sendKeys(findTestObject('Page_Claim Search/input_Social Security Number_ctl03ctl00wizN_ef8075 (2)'),'989'+Keys.TAB+'89'+Keys.TAB+'8989')