Telerik Forums
Test Studio Forum
1 answer
102 views
Hi,

               I recorded the test in Web UI QA and execute it. While playback the test in browser, the form contents are moving upwards.
For example if the page contains any actions like (button/menu clicks, selecting values from dropdown, enter values in test fields).

I have attached the screenshot with this mail. It is happening in all forms of my project. Screenshot1.jpg contains the login page.
screenshot2.jpg contains the login page at the time of execution.


please tell me a solution soon.

thanks,
Cody
Telerik team
 answered on 25 Nov 2010
3 answers
140 views
Hi,

          I want to create a recurrence reservation for an reservation. I did the following steps using recorder and save the test.
1.Created a reservation.
2.right click on the reservation, it opens radmenu to select the options from the raditem list.
3.I selected 'Recurrence' option from the rad item list, it opens the Recurrence popup.
4.Then i have choosen the recurrence option for the reservation and saved the test.
5.When i execute the test, it shows error "Input string was not in correct format" and test is failed.
   Recurrence popup is not opened. Sometimes test is failed in Right click option itself.

(Attached the screenshot for details).


Please give me a solution to resolve the issue.

thanks,
Stoich
Telerik team
 answered on 25 Nov 2010
4 answers
279 views
Hi,
Does telerik support testing desktop applications?
When I was recording the actions done to modal pop-up window, steps are recorded but can't be replayed ,for example , when "Connect to modal pop-up window : Print Preview" ,it always failed .

how to resolve this kind of issue?

Jim
Top achievements
Rank 1
 answered on 25 Nov 2010
1 answer
108 views
Hi,

             Is there any Help document available to handle the logical events and Handlers in the test steps?.

thanks,
Cody
Telerik team
 answered on 24 Nov 2010
1 answer
78 views
Hi,

              Popup is not get opened on right click with the following steps using the Telerik WebUI QA tool.
1.Created a reservation in the Calendar.
2.Right click on the Calendar, it opened the popup.
3.I have selected the date in the calendar and other options to create recurrence reservation and saved it.
4.Saved the test.
5.While executing the test, it is failed in right click step itself.
   

Give me a solution to open the popup window on right click using mouse.

thanks,
Cody
Telerik team
 answered on 24 Nov 2010
1 answer
110 views
hello!

i am using radeditor control. i just given setfocus in js while clicking the button.
it works in ie but it doen't works in chrome.
function setfocus()
{
var edt1=$find("<%=txtmessage.ClientID%>");
//alert(edt1);
edt1.setFocus();
var edt1=$find("<%=txtmessage.ClientID%>");
edt1.setFocus();
var val=$find("<%=RadEditor1.ClientID%>");
val.setFocus();
}

<asp:button id="send_btn" runat="server" OnClientClick="setfocus()"/>

thanks.
priya.
 function setfocus()
{
//alert("fun");
Rumen
Telerik team
 answered on 24 Nov 2010
1 answer
50 views
hello!

i am using radeditor control. i just given setfocus in js while clicking the button.
it works in ie but it doen't works in chrome.
function setfocus()
{
var edt1=$find("<%=txtmessage.ClientID%>");
//alert(edt1);
edt1.setFocus();
var edt1=$find("<%=txtmessage.ClientID%>");
edt1.setFocus();
var val=$find("<%=RadEditor1.ClientID%>");
val.setFocus();
}

<asp:button id="send_btn" runat="server" OnClientClick="setfocus()"/>

thanks.
priya.
 function setfocus()
{
//alert("fun");
var edt1=$find("<%=txtmessage.ClientID%>");
//alert(edt1);
edt1.setFocus();



}
 function setfocus()
{
//alert("fun");
var edt1=$find("<%=txtmessage.ClientID%>");
//alert(edt1);
edt1.setFocus();



}
 function setfocus()
{
//alert("fun");
var edt1=$find("<%=txtmessage.ClientID%>");
//alert(edt1);
edt1.setFocus();



}
 function setfocus()
{
//alert("fun");
var edt1=$find("<%=txtmessage.ClientID%>");
//alert(edt1);
edt1.setFocus();



}
 function setfocus()
{
//alert("fun");
var edt1=$find("<%=txtmessage.ClientID%>");
//alert(edt1);
edt1.setFocus();


 function setfocus()
{
//alert("fun");
var edt1=$find("<%=txtmessage.ClientID%>");
//alert(edt1);
edt1.setFocus();



}
 function setfocus()
{
//alert("fun");
var edt1=$find("<%=txtmessage.ClientID%>");
//alert(edt1);
edt1.setFocus();



}
 function setfocus()
{
//alert("fun");
var edt1=$find("<%=txtmessage.ClientID%>");
//alert(edt1);
edt1.setFocus();



}
 function setfocus()
{
//alert("fun");
var edt1=$find("<%=txtmessage.ClientID%>");
//alert(edt1);
edt1.setFocus();



}
 function setfocus()
{
//alert("fun");
var edt1=$find("<%=txtmessage.ClientID%>");
//alert(edt1);
edt1.setFocus();



}
 function setfocus()
{
//alert("fun");
var edt1=$find("<%=txtmessage.ClientID%>");
//alert(edt1);
edt1.setFocus();



}
 function setfocus()
{
//alert("fun");
var edt1=$find("<%=txtmessage.ClientID%>");
//alert(edt1);
edt1.setFocus();



}
 function setfocus()
{
//alert("fun");
var edt1=$find("<%=txtmessage.ClientID%>");
//alert(edt1);
edt1.setFocus();



}
Rumen
Telerik team
 answered on 23 Nov 2010
1 answer
84 views
Hi,

              I want to change the time for my calendar reservation of my recorded step. When I edited the step through the Inline editor, it shows only the date which is recorded in the step, time is not showing in the Inline editor to change.

Is there any other way to change the time in the existing step itself?..Attached the screenshot.

Konstantin Petkov
Telerik team
 answered on 23 Nov 2010
1 answer
117 views
I am using Rad tab strip control, I am using 2 tabs in my aspx page. Tab1 I am loading 1.aspx file, Tab2 I am loading 2.aspx file
I am trying to use server side Tab_Click Event for switching tabs which is not firing.
1. Please provide the solution how to use the server side tab_click event.
2. By switching between two tabs , unsaved data on forms should be notified and saved. Is there  any solution for that 
 
Dimitar Terziev
Telerik team
 answered on 23 Nov 2010
1 answer
40 views
Hi guys,

I'm trying to build a custom sitemap but having some difficulties.
The sitemap used to work, but now I have pages that require a user to be logged-in first.

If I use the SiteMap.RootNode and the loop through all the children I dont see the "protected" pages.
So then I used the CmsManager.GetPages() which returns all the pages and thats all good, BUT I need the sitemap to display as it displays in the CMS, in that order.

Now it seems like the "Ordinal" value only applies for a group and the pages in the group or something, I have found a thread where it will sort the pages with the ordinal but the menu is still messed-up and not in the order as it is in the cms.

Can anyone help me on how to sort the items so that they will display as in the admin area?

Here is the code I'm using but does not seem to do exactly what I want( I have just added some custom code that will check if a user may see the page, and only then add it to the List ) :


internal class CmsPageComarer : IComparer<ICmsPage>
    {
        #region IComparer<ICmsPage> Members
 
        public int Compare( ICmsPage x, ICmsPage y )
        {
            return x.Ordinal.CompareTo( y.Ordinal );
        }
        #endregion
    }


private List<ICmsPage> GetSource()
        {
            CmsManager manager = new CmsManager();
            IList pages = manager.GetPages();
 
            List<ICmsPage> source = new List<ICmsPage>();
 
            foreach( ICmsPage page in pages )
            {
                string lang = "en";
                if( Request.Url.ToString().ToLower().Contains( "/af/" ) ) lang = "af";
                int langCode = 0;
 
                if( lang.Equals( "en" ) ) langCode = 127;
                if( lang.Equals( "af" ) ) langCode = 54;
 
                if( IsPageVisibleToUser( page ) && page.Navigable && page.LangID == langCode )
                {
                    //show in menu
                    source.Add( page );
                }
            }
 
            CmsPageComarer comparer = new CmsPageComarer();
            source.Sort( comparer );
 
            return source;
        }


internal class CmsPageComarer : IComparer<ICmsPage>
{
#region IComparer<ICmsPage> Members

public int Compare( ICmsPage x, ICmsPage y )
{
return x.Ordinal.CompareTo( y.Ordinal );
}
#endregion



private List<ICmsPage> GetSource()
{
CmsManager manager = new CmsManager();
IList pages = manager.GetPages();

List<ICmsPage> source = new List<ICmsPage>();

foreach( ICmsPage page in pages )
{
string lang = "en";
if( Request.Url.ToString().ToLower().Contains( "/af/" ) ) lang = "af";
int langCode = 0;

if( lang.Equals( "en" ) ) langCode = 127;
if( lang.Equals( "af" ) ) langCode = 54;

if( IsPageVisibleToUser( page ) && page.Navigable && page.LangID == langCode )
{
//show in menu
source.Add( page );
}
}

CmsPageComarer comparer = new CmsPageComarer();
source.Sort( comparer );

return source;
Ivan Dimitrov
Telerik team
 answered on 18 Nov 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?