get gridcell,textbox,gridcellcombox,gridcellcalender tool tip value

2 posts, 0 answers
  1. Abi
    Abi avatar
    8 posts
    Member since:
    Jul 2011

    Posted 09 Aug 2011 Link to this post

    Hello,

    I am trying to get the tool tip value of the a grid cell, but ideally I am not getting the tool tip value, it even becomes very tough when I try to get the tooltip value of a grid when the grid contains calendar control or combobox control in the grid cell, I have written different functions to get the tool tip value when the gridcell contain combobox or calendar. Or simple textbox for that matter. None of them are working …Can you please help me to resolve this Automation…This is very Critical in my Test Case Evaluation…

           //ABI

            public string GetGridCellToolTip(string gridName, int row, int column)

            {

                IGridControl gridControl = controlFinder.FindGridx(gridName);

                return gridControl.GetGridCellToolTipText(row, column);

            }

            //ABI

     

     

     

            //ABI

            /// <summary>

            /// Get the tool tip text in the cell designated by the given row and column.

            /// </summary>

            /// <param name="row">The cell row.</param>

            /// <param name="column">The cell column.</param>

            /// <returns>The tool tip value of the cell.</returns>

            public string GetGridCellToolTipText(int row, int column)

            {

                //radGridView.Wait.For(f => f.As<RadGridView>().Rows.Count > 0);

                return radGridView.Rows[row].Cells[column].ToolTipText;

            }

            //ABI

  2. Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 15 Aug 2011 Link to this post

    Hello Abi,
        tooltips Verifications can be challenging to automate. The main problem is there's no standard way of implementing tooltips. Check out the following KB article which explains some of the basic concepts
    http://www.telerik.com/automated-testing-tools/support/kb/how-to-verify-tool-tips.aspx

    Let me know if you're still unable to get this resolved.

    Greetings,
    Stoich
    the Telerik team
    Vote for Telerik Test Studio at the Annual Automation Honors Voting!
Back to Top