<!DOCTYPE html>
<
style
>
#div1
{
background:blue;
position:absolute;
top:40px; left:40px;
width: 300px; height:299px;
}
</
style
>
<
div
id
=
div1
></
div
>
var rect = Manager.Current.ActiveBrowser.Find.ById(
"div1"
).GetRectangle();
Form form =
null
;
form =
new
Form();
form.BackColor = Color.Red;
form.FormBorderStyle = FormBorderStyle.None;
form.Opacity = 0.7;
form.Show();
form.Location = rect.Location;
form.Size = rect.Size;
for
(var i = 0; i < 10; i++) {
form.Activate();
form.Refresh();
Thread.Sleep(500);
}
form.Dispose();
hi,
i am getting the following error while installing the HP Quality Center in PC for my project requirement.i am getting this error when i am trying to do installation by using the link http://qat.nissan-ix.com/qcbin/start_a.htm
Even though i had closed all connections to server and tried for many times as it shows , i am getting the same error
please guide me how to resolve this issue.
the below is the error :
Following client components were not downloaded successfully:
1 . vcredist_x86.exe :
Cannot download.Check this file is present on server.
Close all connections to Server and try again.
regards,
venkata siva kumar
public void
menuHome_UIvalidation()
{
FrameworkElement a = this.App.Find.ByTextContent("Home" );
a.User.Click();
var menuSubItem_Approvals = this.App.Find.ByTextContent("Approvals");
Assert.IsTrue(menuSubItem_Approvals.TextContent == "Approvals");
ClassLibrary2.Homepage_Navigation.menuHome_UIvalidation:
System.ApplicationException : Exception thrown during the wait for a condition. Error: Unexpected error while waiting on condition. Error: ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
InError set by the client. Client Error:
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args)
at ArtOfTest.InternetExplorer.JsObjectWrapper.GetProperty(String property)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessSilverlightCommand(BrowserCommand request)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
BrowserCommand (Type:'Silverlight',Info:'NotSet',Action:'NotSet',Target:'ElementId (tagName: 'object',occurrenceIndex: '0')',Data:'{"Method":null,"Property":null,"Reference":null,"Reference2":null,"Type":12,"Value":null}',ClientId:'Client_6405d7ad-8b7b-4492-add5-0cd10e0c8eed',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args)
at ArtOfTest.InternetExplorer.JsObjectWrapper.GetProperty(String property)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessSilverlightCommand(BrowserCommand request)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)')
InnerException: none.
at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
at ArtOfTest.WebAii.Silverlight.SilverlightProxy.ExecuteSLCommand(SilverlightCommand cmd)
at ArtOfTest.WebAii.Silverlight.SilverlightProxy.GetAllVisualTrees()
at ArtOfTest.WebAii.Silverlight.SilverlightApp.RefreshVisualTrees()
at ArtOfTest.WebAii.Silverlight.VisualFind.RefreshRoot()
at ArtOfTest.WebAii.Silverlight.VisualWait.WaitForExistsByFindInfo(VisualFindInfo findInfo)
at ArtOfTest.Common.WaitAsync._worker_DoWork[T,V](Object waitParam)