I am having trouble retrieving text from a VBLabel. There are two labels having the same name and also I've checked the window identifier, they have the same name. How can retrieve data from the second one.
The code looks something like this:
sField1= wCD.CC.N1Text.GetText ()
sField2= wCD.CC.N1Text.GetText ()
But sField1 and sField2 as expected are getting the same value. How do I focus on second label.
Re: Silk Test - 2 controls having same declaration
So though they are different controls, displaying on screen different values...but thru ST, it retrieves data as of first control, I do window identification, shows same identifier for the second but in declarations, it has a different name. PS..this is a label, since it displays text from previous screen's grid.