cancel
Showing results for 
Search instead for 
Did you mean: 

Java Write and List Box

saimuktha
Level 3
I have two errors: 1. Unable to Set Tex contents in Java Mode Cannot use write to type in any details into an application 2. While selecting a particular item that is invisible in list I get index out of bounds error It only works when I scroll down to make the list visible
2 REPLIES 2

John__Carter
Staff
Staff
1) Maybe you will need to use the Navigate to send keystroke instead. 2) It sounds like the 'off page' item is not invisible, it does not exist until it scrolls into view. This is how some applications work, and you'll probably need to create some sort of loop involving scrolling down and waiting for items.

Siva_saiM_G
Level 2
1. Unable to Set Tex contents in Java Mode Cannot use write to type in any details into an application Comment: Most of the old version Java applications have this issue, i used global send keys for tab and keystroke entry. But choose this option based on your application behavior. 2. While selecting a particular item that is invisible in list I get index out of bounds error It only works when I scroll down to make the list visible Sol: Don't spy the element, instead you can try mouse click down+(Sequence number in the desired output) Or you can even do write action and write entire data item if your application allows typing apart from selecting from drop down.