Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Switching Links to contnue testing
#3
Solved: 11 Years, 3 Months, 3 Weeks ago
I created an Action2, but i am not sure if this helps or hurts my future testing.

My new code in Action2:

Code:
For DLc = 1 to 5
            DLcRun=  DataTable.GetSheet("Action2").GetParameter("Execute").ValueByRow (DLc)
            DocumentsLink = DataTable.GetSheet("Action2").GetParameter("DocumentsLink").ValueByRow (DLc)
            GrStart = DataTable.GetSheet("Action2").GetParameter("GrStart").ValueByRow (DLc)
            GrEnd = DataTable.GetSheet("Action2").GetParameter("GrEnd").ValueByRow (DLc)
            
               If DLcRun = 1 then
                    'Check to see if the correct ReportsLink is selected, if not , then change
                    If Browser("Wisdom").Page("Wisdom IA").Frame("parent").Link(DocumentsLink).Exist(1) Then
                        Browser("Wisdom").Page("Wisdom IA").Frame("parent").Link(DocumentsLink).Click
                        Reporter.ReportEvent micDone, "ReportsLink was changed: " , " The Image Access reports link in " & ENV & " was changed to: " & ReportsLink & "."
                    End If
                    
                    Call CountNumberofReportLinks (GrStart, GrEnd, objExcel, OutputFilePath, rNumber, MrNumber)
                    Call SaveOrSaveAsExcelSheet (OutputFilePath, objExcel)
                    Call UseGroupReportDisplaySearchAddFav (GrStart, GrEnd, objExcel, OutputFilePath, MrNumber)
                    Call SaveOrSaveAsExcelSheet (OutputFilePath, objExcel)
            
                Else
                    Reporter.ReportEvent micDone, "Documents Link Skipped: " & DocumentsLink , "Execute in Action2 set to 0 for documentklink."
            
            End If
Next
Reply


Messages In This Thread
Switching Links to contnue testing - by mv8167 - 10-05-2011, 02:55 AM
RE: Switching Links to contnue testing - by mv8167 - 10-06-2011, 02:02 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Switching between URLs sqadri 1 2,729 02-01-2012, 07:36 AM
Last Post: rajpes

Forum Jump:


Users browsing this thread: 2 Guest(s)