Hi,
I am using RFT8.0 and Visual Studio2008 with TestAdvantage proxy to work with infragistics controls in our application.
Please help for the below issue while working with Menubar/Toolbar control object.
Below code snippet used to click on Menu bar items using its caption, but we are unable to add one more menu item for AtList method. Here we need to click on Driver Status submenu item after List Setup parent menu item.
Dim objTool111 As UltraToolbarsDockAreaTestObject 'Find Tool Bar Items AMS_Globalvariables.tObj = AMS_Globalvariables.objWinForm.Find(AtChild(".class", "Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea", "Name", "_FormBase_Toolbars_Dock_Area_Top")) If AMS_Globalvariables.tObj.Length > 0 Then objTool111 = CType(AMS_Globalvariables.tObj(0), UltraToolbarsDockAreaTestObject) Else LogError("Failed to Find the Tool Bar Object") End If
'Click on Toolbox-->System Administration-->List Setup-->Driver Status... objTool111.Click(AtList(AtText("MainMenuToolbar"), AtName("&Toolbox"), AtName("&System Administration"), AtName("List Setup")))
AtList() method accepting only four parameter itmes(Captions) as mentioned in above code snippet, so how to pass more than four items in AtList method. Let us know how to use the subitems in array format.
Kindly help me in this regard.
Thanks,
Vijay.
Ammar,
Hope you had great holidays. I believe you remember me, 2 weeks before we’ve talked regarding RFT- Infragistics control issue. Finally we got Evaluation version from you guys. I have a question to you. In my script I’m selecting a calendar grid and selecting today.
My question is
DateFormat dateFormat = new SimpleDateFormat ("MM/dd/yyyy"); Calendar cal = Calendar.getInstance(); java.util.Date StartDate = cal.getTime(); Calendar cur_month = Calendar.getInstance(); cur_month.add(Calendar.MONTH, 1); int month = cal.get(Calendar.MONTH); int day = cal.get(Calendar.DAY_OF_MONTH); int year = cal.get(Calendar.YEAR);
So instead of 12, 12, 2012(I’ve used these above variables) like monthDropDownWithUIPermissions().click(atDate(month, day, year));
But nothing is working out. Could you please help me to fix this issue.
ThanksKarthiga
I e-mailed you the meeting URL. See you at 9 am
Tomorrow 9 to 10 works fine to me. (Also fine with 11 to 12). Please send me link or access to the online meeting for tomorrow at 9am to 10am(Eastern).
Thanks
Karthiga
Hi Karthiga,
I'll reach out to Dave to find out more about your case. the fastest way to get you going would be an online meeting, are you available Tuesday (12/11) morning EST? I'm free between 9 and 10 and also 11 to 12
Hello Ammar,
Thanks for your reply. I believe my problem is little different. Because when I record my actions, it is scripting ordinary way, not the way to Infragistics controls. Even one of your Developer Support Engineer(Dave) has tried on my system thro online meeting. He told me that, some issue with TestAdvantage software itself(2010.3). If possible you can consult with Dave(Not sure is it good idea). I need to fix this issue ASAP, bcos based on my proposal, my team is going to purpose TestAdvantage. So if you or any of your team could do something to fix this issue it would be great.
Also if you are available, i can show my issue to you thro online meeting.