I was originally working with chrome, but I changed over to IE b/c I needed the Image validation Tools(they're not in chrome).
I had already made most of my tests and they were working just fine BUT when I started running them in IE I found my tests that try to fire an anchor onClick didn't work and I tried again in chrome to make sure and they still work there. This is my method I made...
public
void
Room_Booking_CodedStep1()
{
String title =
"title="
+DateTime.Now.AddDays(1).ToString(
"MMMM"
) +
" "
+ date.Day;
// to alwasy be one day ahead EX "October 29"
Element ele = Find.ByAttributes(title);
var anchor =
new
HtmlAnchor(ele);
anchor.InvokeEvent(ScriptEventType.OnClick);
}
the mark up i'm trying to call and i checked that they are the same in both browsers
<
a
title
=
"October 29"
style
=
"color: black;"
href
=
"javascript:__doPostBack('ctl00$ctl00$cphBaseMasterBody$cphAuthenticatedRightColumn$QuickBook1$calView','5780')"
>29</
a
>
Hi,
I have a question about proper way to add elements into elements explorer to be able to use them in tests, that will be running on different application instances.
This means that i have 2 application versions deployed on a server,
for example: http://qadomain1.com/Baseline_Build, http://qadomain1.com/Current_Build
As you may see, there are baseline (production) build, and current build. I am running the same performance tests agains them, and then comparing the results.
On the phase of writing tests, I've faced the problem on adding the element to element explorer with the settings, that will work on both app versions in the same time.
For example i have some span element located inside the frame on app page, and i want to check if it's visible.
I can add it into elements explorer, but if the app url on the moment of adding was set to baseline build, the compare/entire URL for the page are set to the it, and the element is not found when running a test against current build.
Which compare mode should i use for such purposes?
Currently for the case I've described it looks like:
Page settings:
BaseURL: http://qadomain1.com
CompareMode: http://qadomain1.com (disabled field)
EntireURL: http://qadomain1.com/Baseline_Build/workgroup/Users.aspx (disabled field)
Path: /Baseline_Build/workgroup/Users.aspx (disabled field)
Frame dialog settings:
UseBaseUrlHost: disabled
We moved scripts to different folders in our project and they are not appearing in the new folder. We moved them back but they do not appear there either?
When I open the folder in Windows Explorer the files are there.
When double click on the script file from windows explorer it launches Telerik test studio but does not open the script.
Any ideas what could be causing this?
Thanks
I need to test that an image is loaded correctly and not displaying that little red X.
I found a link that shows me what want ...
http://docs.telerik.com/teststudio/features/recorder/verifications/image-verification
... but I don't have these features in my test studio.
I can click on "build step" but it only puts the recording tool in focus, which that doesn't have this image validating tool.
hi.
i'm just test studios with my ORM that's being referenced but the problem that i'm getting is when i also want to reference OpenAccess in the test studio scripts but when i do that i get this...
Telerik.OpenAccess.OpenAccessException: Application id class 'Telerik.OpenAccess.RT.OID.GuidIdentity' used by class 'eZoneUITestingORM.Cohort' must have field: 'public System.Guid _cohortID'.
I have looking at how other people fix this and they say check the versions but my versions are all the same.
But if i don't reference open access then i don't get that error and it works fine, but i would like its .
I am using the test studio application, not the plugin for visual studios
Hi ,
How can I view the line numbers in the code viewer in test studio web and desktop version. The log shows the line numbers where the error is, but on the code viewer I cant see any line numbers and hence it is difficult to find out where the error is.
Regards,
SHK
Hi,
I just went through the link. Details are beautifully given.
http://www.telerik.com/campaigns/teststudio/aw/5-hidden-selenium-costs
However i want to know more about Parallel execution using Scheduling server.
So basic question is can i integrate it with Teamcity / TFS.
I meant, when a build is triggered through Teamcity, can i make a call to scheduling server which will distribute and execute to multiple execution machines?
What i am looking is , nowadays everybody is looking at Continuous integration and i am thinking of leveraging this Scheduling server for CI.
Kindly let me know
Thanks,
VVP
For 1) how do we configure the scheduled tests so that they automatically create .trx files? Am I right in thinking we can then simply point to a directory which contains the .trx files from within the ccnet.config file and the results will be shown in CruiseControl?
For 2) do you have a how to guide on how to configure CruiseControl so that it can excecute function tests and report the results?
Thanks,
Steve