cancel
Showing results for 
Search instead for 
Did you mean: 

Transfering control to a previous line

mazhar555
Contributor

Transfering control to a previous line

Hi, can i call a line written previously? have a look on the followin code, before end of IF statement i want to call "call checkErrorMessage" line. Actualy i want to run this IF statement untill unless errDLMessage exists.


call checkErrorMessage

    

    If
errDLMessage.exists Then 

        call returnValue("drpCECNewDlv:_ctl1:txtCECDocRefSerialNo") 

        srNumber = GetPropertyValue(value,"value")

        srNo = srNumber + 1

        call setTextBox("drpCECNewDlv:_ctl1:txtCECDocRefSerialNo",srNo)

        Call
clickButton("","cusSave") 

    End If


-
Muhammad Mazhar Mahmood
Certified Software Tester (CSTE)
1 REPLY 1

RE: Transfering control to a previous line


Hi Muhammad,





Have you ever heard about loops? See the "Looping Through Code" MSDN Library article.
--
Dmitry Nikolaev

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors