I created a web test on the following French website: http://www.ldlc-lyon.com
The test is very simple: 5 iterations of click. It is run twice an hour and the results will be stored in a database to check performance.
The issue I am dealing with is that regularly the 'click' action doesn't work. I can see the mouse moving onto the link, but nothing else happens. Here is the code used:
Code: Select all
Public Sub ChoixUnivers()
Report.Log(ReportLevel.Info,"Interne", "Récupération des univers dans une liste", repo.LDLClyon.PiecesInfo)
Dim objList As IList(Of Ranorex.ATag) = repo.LDLClyon.Pieces.FindDescendants(Of Ranorex.ATag)()
Randomize()
Dim iRandom As Integer = CInt(Int(objList.Count * Rnd()))
Report.Log(ReportLevel.Info, "Mouse", "Choix de l'univers " & objList(iRandom).InnerText, repo.LDLClyon.PiecesInfo)
objList(iRandom).MoveTo() 'line added to try to solve the issue
objList(iRandom).Click()
repo.LDLClyon.Self.WaitForDocumentLoaded()
End Sub
Do you have any idea of what could happen?
I can send you the whole test suite if you think it might help.