Hi,
Can any one please help me out with the following issue on QTP 9.5:
1. QTP9.5 is unable to identify the Upload fields in the Application. It identifies the field as a WinObject >Activex.
2. QTP9.5 is unable to identify the Upload fields in the Application. It identifies the field as a Frame >WebElement.
I have added the latest Patch available for QTP9.5 - 'QTP_00550' and 'QTP_00552' , still the facing the same problem.
Kindly guide.. :)
Thanks,
Shraddha
StringBuilder script = new StringBuilder();
script.Append("Sys.Application.add_load(function(){");
script.Append("var combo2 = $find('" + combo.ClientID + "');");
script.Append("combo2.get_inputDomElement().focus();");
script.Append("combo2.selectText(combo2.get_text().length, combo2.get_text().length); });");
RadScriptManager.RegisterStartupScript(Page, Page.GetType(), "comboCursor", script.ToString(), true);
As I mentioned in a previous post I am converting an old Dundas chart to a
Telerik chart control. I am finally at the last part which is the ability to
select and highlight a section (see the screen shot labeled
ZoomingHighlight.png). When one does this the section they selected is
higlighted with a different color and then statistics at the bottom are updated
based on the selected area ((see the screen shot labeled
ZoomingHighlighted.png). For example it shows the selected start and end dates.
I have ran into two issues in trying to replicate this function.
First
and perhaps the easiest I bet to solve is that of the color and transparency of
the rectangle selection. I can set the color to yellow, but no matter what I set
the ZoomRectangleOpacity to it remains fully solid and not slightly transparent.
The default settings work fine with opacity.
Second and probably much
harder is capturing the starting and end points of data for the selection. I am
doing only x-axis scrolling/zooming and I can easily get the XScaleNew and
YScaleNew on the server side, but I cannot figure out how I can get the selected
data points particularly the start and end points in the selection. Is there an
example, client-side api or such that can assist me in this? This functionality
of selection is one they use extensively.Thanks.
Box1.Text = Box2.SelectedValue;
<
telerik:GridTemplateColumn HeaderText = "Print Letters/Post Cards" UniqueName = "PrintLetter" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<telerik:RadComboBox ID= "Print" runat="server">
<Items>
<telerik:RadComboBoxItem runat="server" Text=""/>
<telerik:RadComboBoxItem runat="server" Text="1 Year Postcard"/>
<telerik:RadComboBoxItem runat="server" Text="1 Year Adult"/>
<telerik:RadComboBoxItem runat="server" Text="2 Years Adult"/>
<telerik:RadComboBoxItem runat="server" Text="3 Year"/>
</Items>
</telerik:RadComboBox>
</ItemTemplate>
<EditItemTemplate>
<telerik:RadComboBox ID= "PrintEdit" runat="server">
<Items>
<telerik:RadComboBoxItem runat="server" Text="1 Year Postcard"/>
<telerik:RadComboBoxItem runat="server" Text="1 Year Adult"/>
<telerik:RadComboBoxItem runat="server" Text="2 Years Adult"/>
<telerik:RadComboBoxItem runat="server" Text="3 Year"/>
</Items>
</telerik:RadComboBox>
</EditItemTemplate>
</telerik:GridTemplateColumn>
protected
void EditGrid(object sender, GridCommandEventArgs e)
{
GridEditableItem
dataItem = e.Item as GridEditableItem;
RadComboBox
Box1 = e.Item.FindControl("Print") as RadComboBox;
RadComboBox
Box2 = (RadComboBox)dataItem["PrintLetter"].FindControl("PrintEdit");
Box1.Text = Box2.SelectedValue;
RadSplitter splitter = splitBarToRemove.Splitter;
splitter.Items.Remove(splitBarToRemove);
RadControlStates.SplitbarStates.Remove(splitBarToRemove.ID);
else
{
var
g=
this
.getSplitBarByIndex(0);
var
e=g.get_element();
Uncaught TypeError: Cannot call method
'get_element'
of
null