Comments (19)
Hi Swahela,
Thanks for sharing! We have an example workflow, which includes: build the app, compress the package and upload to Test Base. I hope it will give you some help. I'm waiting for you feedback.
Thanks,
Yan
from testbase.
Hi Swahela,
Sorry I reply to you late, because we are taking national holidays this week.
Quick answer to your question is yes, only msi and process name need to be modified.
But if you have your own functional test cases, it will be another story.
from testbase.
Hi Swahela,
Thank you for reporting the first issue of Test Base!
We currently only allow the package to be uploaded to Test Base specified blob path. You can retrieve it by calling this API: https://learn.microsoft.com/en-us/rest/api/testbase/test-base-accounts/get-file-upload-url?tabs=HTTP
So the steps should be:
- Create a test base account.
- Get the upload URL.
- Upload your package to the URL of step 2.
- Create the package.
You can refer to this example for reference:
We will update our documentation to make this clear.
Thanks,
Yan
from testbase.
I'm glad that helped.
This is a good question. We do not have such rest API for now. But I'm curious what your user scenario is, why do you want to upload (msi/exe) only? If you build the package on Azure Portal, you still need to update the script files (install/launch/close/uninstall) manually.
from testbase.
- No, you should modify the full path, not only DigitalClock\DigitalClock.exe. Check this example. It is launching the new sample app Calculator. You should be able to find the full path of the exe after you install your app. Or you can ask the app owner for the installation path.
- From this example, you can also find that this script is using Get-Process to verify the status of the app. So just make sure your process name can be found by "Get-Process". And yes, Outlook is the process name of Outlook.exe.
from testbase.
Thank you for the clarification.
from testbase.
Hi Swahela,
Try this:
{
"osUpdateType": "Feature updates",
"targetOSs": null,
"baselineOSs": [
"Windows 10 21H2"
],
"insiderChannelIds": [
"1772747126",
"2120650206"
]
}
from testbase.
1891741446.
Yes, it is always null. It's represented by the insiderChannelIds field for Feature Update
from testbase.
@swahelamulla Check this PR, let me know if it is helpful for you to build multiple packages.
from testbase.
Thank you soo much yazeng.
In API doc the blob path is [storageAccountPath/package.zip] so, it is confusing.
Also I want to ask you one more question . If we use Test Base Create Package API then we can upload only pre-built package right? Is there any option to proceed with application files only(.msi/.exe) as we have option in azure portal build package from scratch like that, because I have tested with msi&exe files it is not working showing error message .zip is necessary.
from testbase.
Hi Yan,
I'm excited to learn Azure Test Base service, I have more no of applications so I had to test them with test base . Rest API is good option than azure portal but we need to build package(It will be very difficult to build package every time for so many apps) and this is main problem. is there any option to test applications in bulk using any work flow. It would be better for me if you give any advice.
Thanks!
from testbase.
Okay, I will try with this solution. Thank you very much @yazeng
from testbase.
Hi @yazeng what exact changes we have to make with editor in that 4 scripts (Install, Launch, Close and Uninstall). I know we have to change msi name, Process name but other than this we have make any other change?
from testbase.
No problem @yazeng and Thanks For your Support
Change the $exePath to your execution path, add -ArgumentList if need.
$exePath = "C:\Program Files\Test Base M365\DigitalClock\DigitalClock.exe"
What about this path
if we have to change then can i change only this much of part(DigitalClock\DigitalClock.exe)
and make (C:\Program Files\Test Base M365) remaining part is comman for everytime is it right?
I want to ask you 1 more question what is exactly process name. Suppose if i have Outlook.msi/exe then we have to take only Outlook as process name correct?
or any other possibilities we have in process name.
from testbase.
Hi @yazeng
I'm lil bit confuse in Feature Update and I want some clarification.
I have selected Insider Channel values but the values are not present inside JSON file.
from testbase.
@yazeng I want that third insiderChannelId also for Windows 11 22H2 (Insider Beta Channel, RTM)
and targetOS's value is always null in feature update case?
from testbase.
Thank you !
from testbase.
@swahelamulla I'll close this issue. You can create a new one if you have any other questions regarding Test Base.
from testbase.
Okay
from testbase.
Related Issues (6)
- This repo is missing important files
- Error occurred when building "Sample-App-Src/Calculator" HOT 3
- exit code 3010 returned from the sample Calculator and cause sample package ran failed on Test Base
- Test Type Items fails validation HOT 2
- Issue retrieving lists of available OSs for FeatureUpdate using Microsoft.TestBase API
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from testbase.