Hi ,
I have 2 functions or methods in the test. In function1, I have a variable called x which stores the inner text of particular span in my webpage. Now I need the value of the variable to be used in my Function 2. I dont want to use the extract step . I want to find the element using find expression in function1 and use the value in function2 .
Eg :
Public sub function1()
Span = Pages. xxxx.xxxx
Dim X as string = Span. innertext ()
End Sub
--------------------------------------------------------
Public Sub function2 ()
Messagebox.Show("Document id is :" &Docid)
End Sub
Could anyone help me to do this ? Thanks in Advance!!