When I run a performance tests it opens the URL, completes the first part of the test but when I try to get past our shopping cart (checkout) it throws an error either the page cannot be displayed or the proxy settings failed.
We work WITHIN a proxy and the application is within our firewall, although I tried this with our production site and received the same error.
The functional test works just fine and passes all pages as it goes through our test site.
After running the test, my proxy settings in IE have changed and I have to go back in to reset them otherwise I cannot connect to anything using IE (10)
If the functional test works without a hitch and the performance test uses the same test -then why is there an issue?
I also tried recording a new test, but with the same result.
Of course, I cannot find anything in the forums about this issue. This, along with the inability to connect to TFS2013 is making Test Studio look bad in my evaluation (we are going through the trial license to assess value).
Somehow i have got into a situation whereby I cannot see the broswe buttons within the properties window at the right hand side of the window so that I can choose a different control to use within a script.
I have tried maximising, minimising and shrinking each different pane but I cannot find a way to resize it so these elements are visible
Any assistance would be appreciated
I want to use VB code for comparing TextContent, but I can't. If I run the following code I get an error stating that "Weekday is not declared", but according to VB tutorials I should be able to use it without a problem:
Dim todayDate As Date = Date.Now()
Dim dateToday As String = todayDate.ToString("yyyy/MM/dd")
Dim timeToday As String = todayDate.ToString("yyyy/MM/dd hh:mm")
Dim dayName As Integer
Dim dayNameShort As String
dayName = Weekday(todayDate)
Select Case dayName
Case Is = 1
dayNameShort = "Sun"
Case Is = 2
dayNameShort = "Mon"
Case Is = 3
dayNameShort = "Tue"
Case Is = 4
dayNameShort = "Wed"
Case Is = 5
dayNameShort = "Thu"
Case Is = 6
dayNameShort = "Fri"
Case Is = 7
dayNameShort = "Sat"
End Select
Pages.CashLedger.xDdTag.AssertContent().TextContent(ArtOfTest.Common.StringCompareType.StartsWith, dateToday & " 12:00 AM " & dayNameShort & " - " & timeToday)
Also when seeing the output of the code if I leave our Weekday, I see that date is not correctly formatted. Instead of defined "/" separator a "." is used, like:
OK - 04/07/2015
NOK - 04.07.2015 - this is what formatting in VB does in Test Studio!
Please help or point me to doc where such cases are already explained and can be done without a code.
Thanks, Jurij