Hi Vamsi
I suggest you use the following logic:
New object screenline(array)
New object foundline
Map Get Screen Buffer(Only Window) to screenline(+)
For each foreach_item in screenline where is (StrIn(foreach_item, StrLn(foreach_item),case sensitive)=”ABC TEST”
- Map foreach_index to foundline
Note that if the text “ABC TEST” exists in more lines on the screen you will only get the last occurrence line number in foundline.
Best regards
Bjarne Sørensen
#Mainframe-Integration#webMethods#ApplinX