Hello,
Our web application uses Common Access Card for authentication. For those who are not familiar with CAC smart card, here is the definition:
"The CAC, a "smart" card about the size of a credit card, is the standard identification for active duty uniformed service personnel, Selected Reserve, DoD civilian employees, and eligible contractor personnel."
http://www.cac.mil/
When I recorded the test, I logged in with using my CAC card (CAC card is physically connected to the computer through a CAC card reader using USB cable). The test executed and passed. No problem there. If I remove the CAC card and run the test it would not work. I get alert message requesting to insert CAC card. The fact that I have to leave my CAC card in all the time when I run the test can be a potential issue down the road. I'm just wondering if there is any kind of support for CAC card in the Test Studio. What I ultimately wanted to do is not having to keep my CAC card physically at the machine when I run the test. Does anyone have any suggestions?
Thank you!
Jun

Hi
I'm trying to write a check to see if the word "error" is visible anywhere on the current page: how might I do this?
I'd hoped to be able to do something like...
Element e = Find.ByContent("p:error");if (e.Equals(null)){ Log.WriteLine("Could not find error message");}But I get this error:
System.NullReferenceException: Object reference not set to an instance of an object.
Any help gratefully received.
Thanks


Hi,
I am trying to do a load test with multiple unique accounts logging into the test site at once. I am doing a data driven approach, however I do not think I am doing it right. I set up a test with 100 unique accounts bounded, however whenever I try to upload my test to the load test application by capturing user profile it will go through all the steps 100 times before being uploaded. Am I doing it correctly? I feel like I am doing something wrong as the test studio will sometimes crash when trying to go through all 100 accounts tests before being uploaded to the user profile for testing.

Hi,
I am automating an imaging application.
Here we have pan functionality, where in we can drag the image.
After dragging and before dragging I get the screen rectangle and store it. Both the objects are same in my case but I am expecting a changes since the image object is moved.
I have tried refreshing object and visual tree of application, still not able to resolve.
Thanks!
Devendra

Hi,
I have this code so that it can handle confirm dialogs:
Manager.DialogMonitor.AddDialog(AlertDialog.CreateAlertDialog(ActiveBrowser, DialogButton.OK));
Manager.DialogMonitor.Start();
But I got this error:
(CS0103) The name 'AlertDialog' does not exist in the current context
(CS0103) The name 'DialogButton' does not exist in the current
I added the System.Windows.Forms reference (following the instructions from this link):
http://docs.telerik.com/teststudio/features/coded-steps/add-assembly-reference
I also added this on top of the code behind file:
using System.Windows.Forms;
After adding the reference and the using statement, I still get the error message
Question:
1. What .dll should I use? I found 3 files with the same name(System.Windows.Forms.dll) but in different locations, I tried to reference them one by one but still the same error message appears
a. C:\Windows\Microsoft.NET\Framework64\v4.0.30319
b. C:\Windows\Microsoft.NET\Framework\v4.0.30319
c. C:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089
2. Is there something that I am missing? how could I make this work?
Thanks!
Hi,
I need to test if a row is selected in a Telerk Grid using Telerik Test Framework. Below is the snippet of code I'm trying.
public bool HasRowSelected(IFrameworkElement row)
{
return row.Find.ByName<Rectangle>("BackgroundBorder").Opacity > 0;
}
However it doesn't seem to work. Could you please suggest how can I achieve this? Attached is the sample grid.