Contributions
Using testexecute command line with export log on html format
I play a suite with testexecute by a command line, and i want to export results with /el:FileName.html "C:\Program Files (x86)\SmartBear\TestExecute 11\Bin\TestExecute.exe" "D:\CohorteV2\TestsAutomatiques\VlzTestApp-Supervision\VlzTestApp-Supervision.pjs" /r /e /SilentMode /elSmiley Very Happy:\TestsExecResults\Supervision_%_date%_%_time%.html When my test is passed, i have a file.html but when i'm trying to open it, it is not html, it s text with a strange format like This From: Subject: TestComplete Log Files MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=A8B368966EE44B2B4192A268DA33F90"; type="text/html" This is a multi-part message in MIME format. ------=A8B368966EE44B2B4192A268DA33F90 Content-Type: text/html Content-Transfer-Encoding: base64 Content-Location: http://localhost/index.htm PCFkb2N0eXBlIGh0bWw+DQo8aHRtbD4NCjxoZWFkPg0KCTx0aXRsZT5UZXN0Q29tcGxldGUgMTEg TG9nPC90aXRsZT4NCgk8bGluayByZWw9InN0eWxlc2hlZXQiIHR5cGU9InRleHQvY3NzIiBocmVm PSJkZWZhdWx0LmNzcyI+DQoJPG1ldGEgaHR0cC1lcXVpdj0iWC1VQS1Db21wYXRpYmxlIiBjb250 ZW50PSJJRT1lZGdlIj4NCgk8bWV0YSBodHRwLWVxdWl2PSJDb250ZW50LVR5cGUiIGNvbnRlbnQ9 InRleHQvaHRtbDtjaGFyc2V0PVVURi04Ij4NCjwvaGVhZD4NCjxib2R5IG9ucmVzaXplPSJkb1dp bmRvd1Jlc2l6ZSgpIj4NCgk8c2NyaXB0Pg0KCQl2YXIgbmF2ID0gbmF2aWdhdG9yLnVzZXJBZ2Vu dC50b0xvd2VyQ2FzZSgpOw0KCQl2YXIgaXNPcGVyYSA9ICh3aW5kb3cub3BlcmEgIT0gbnVsbCk7 DQoJCXZhciBpc0ZGID0gKG5hdmlnYXRvci5wcm9kdWN0ID09ICJHZWNrbyIpOw0KCQl2YXIgaXNJ If i make this export with .mht format it works. Is there anyhting to do to have the same result in html correct format to view my report ? Thanks u all FabriceSolved1.7KViews0likes4CommentsNead to write utf8 Without BOM
Hi, I need to read / Write into a textfile on utf-8 but without bom. Actually, if a use Writetotextfile with textencodingType 22 or aqfile.ctUTF8, my file have a BOM... when my application read this BOM... it BOOOOOM. it is possible to read/write without this Bom ? Thx FabriceSolved4.7KViews0likes3Commentsjavafx menubar items by javaFxName
Hi, I' m using JavaFX on TC, and 've a problem with a MenuBar.JavaFXMenu. When i use my MenuBar.JavaFXMenu.Items(), if i put an index Items(0) : it works, if i put a JavaFXObjectText Items("JavaFXObjectText") : it works, but when i put a JavaFXObjectName Items("JavaFXObjectName") : failed You can see on screenshot the values that i use in my example I need to put MenuBar.JavaFXMenu.Items("menu_cmapi") instead of MenuBar.JavaFXMenu.Items("_CMAPI"). I think it's a param problem, but i dont find how to set TestComplete to do that. Thank u Fabrice684Views0likes0CommentsJavafx hidden textbox by css on toogle button action
hi, I ve a problem to check if a a field is enabled or disabled in a special case of javafx elements. On the screen shot, you can see a part of object browser of my problem : i have a toogle button which active or déactive the fields. Not pressed, first field is enable the second not. Pressed, the first field is not active the second is enable. Despite all availables attributs (visible, disabled, editable, and others) i can't check the difference of both fields. When i talk of this problem, one of my develloper told me about a hidden field by CSS... My question : How can i catch css attributs on this case thx u Fabrice787Views0likes0CommentsRe: javafx MenuButton : click on subelement
Hi, Sorry for the delay of my answer. i restart to work on this problem for few days only. Thank you for your response. in fact, i force the fropdown by .hide/.show and TC can look and catch my content, i can see and use my elements Thx u so Fabrice1.2KViews0likes0Commentsjavafx MenuButton : click on subelement
Hi, I've a MenuButton on my application, under this MenuButton 2 elements to click. Actually, i can't found Elements to click on By script : I can MenuButton.DropDown => the list appears I can find labels MenuButton.getItems().get(2).getText() => it s OK the correct label is returned By KeywordTest : A clic on a subelement on my MenuButton gives me another element ....java.contextmenu.scene31.pane.popupcontrolecssbridge.contextmenucontextmenubox.myelement I can click on it, but a really want to control my elements, and i dont know if on a future release, the aliase will be correct How can i found and CLick on sub element of this MenuButton by script ? Thx a lot Fabrice1.3KViews0likes4Comments