This is a migrated thread and some comments may be shown as answers.

get gridcell,textbox,gridcellcombox,gridcellcalender tool tip value

1 Answer 37 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Abi
Top achievements
Rank 1
Abi asked on 10 Aug 2011, 04:38 AM

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

1 Answer, 1 is accepted

Sort by
0
Stoich
Telerik team
answered on 15 Aug 2011, 12:00 PM
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!
Tags
General Discussions
Asked by
Abi
Top achievements
Rank 1
Answers by
Stoich
Telerik team
Share this question
or